mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
remove err when compile no fb
This commit is contained in:
@@ -117,17 +117,25 @@ struct rk29_nand_platform_data rk29_nand_data = {
|
||||
.io_init = rk29_nand_io_init,
|
||||
};
|
||||
|
||||
/*****************************************************************************************
|
||||
* touch screen devices
|
||||
* author: cf@rock-chips.com
|
||||
*****************************************************************************************/
|
||||
#define TOUCH_SCREEN_STANDBY_PIN INVALID_GPIO
|
||||
#define TOUCH_SCREEN_STANDBY_VALUE GPIO_HIGH
|
||||
#define TOUCH_SCREEN_DISPLAY_PIN INVALID_GPIO
|
||||
#define TOUCH_SCREEN_DISPLAY_VALUE GPIO_HIGH
|
||||
|
||||
#ifdef CONFIG_FB_RK29
|
||||
/*****************************************************************************************
|
||||
* lcd devices
|
||||
* author: zyw@rock-chips.com
|
||||
*****************************************************************************************/
|
||||
//#ifdef CONFIG_LCD_TD043MGEA1
|
||||
#define LCD_TXD_PIN INVALID_GPIO
|
||||
#define LCD_CLK_PIN INVALID_GPIO
|
||||
#define LCD_CS_PIN INVALID_GPIO
|
||||
/*****************************************************************************************
|
||||
* frame buffe devices
|
||||
* frame buffer devices pin define
|
||||
* author: zyw@rock-chips.com
|
||||
*****************************************************************************************/
|
||||
#define FB_ID 0
|
||||
@@ -139,16 +147,6 @@ struct rk29_nand_platform_data rk29_nand_data = {
|
||||
#define FB_DISPLAY_ON_VALUE GPIO_HIGH
|
||||
#define FB_LCD_STANDBY_VALUE GPIO_HIGH
|
||||
|
||||
//#endif
|
||||
/*****************************************************************************************
|
||||
* touch screen devices
|
||||
* author: cf@rock-chips.com
|
||||
*****************************************************************************************/
|
||||
#define TOUCH_SCREEN_STANDBY_PIN INVALID_GPIO
|
||||
#define TOUCH_SCREEN_STANDBY_VALUE GPIO_HIGH
|
||||
#define TOUCH_SCREEN_DISPLAY_PIN INVALID_GPIO
|
||||
#define TOUCH_SCREEN_DISPLAY_VALUE GPIO_HIGH
|
||||
|
||||
static int rk29_lcd_io_init(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
@@ -6,6 +6,7 @@ menu "Display device support"
|
||||
|
||||
config DISPLAY_SUPPORT
|
||||
tristate "Display panel/monitor support"
|
||||
depends on FB_RK29
|
||||
---help---
|
||||
This framework adds support for low-level control of a display.
|
||||
This includes support for power.
|
||||
|
||||
@@ -4,7 +4,8 @@
|
||||
menu "HDMI"
|
||||
config HDMI
|
||||
tristate "HDMI support"
|
||||
|
||||
depends on FB_RK29
|
||||
|
||||
if HDMI
|
||||
|
||||
config HDMI_OLD
|
||||
|
||||
Reference in New Issue
Block a user