rk29: modify lcd driver
authorhhb <hhb@rock-chips.com>
Wed, 23 Mar 2011 12:06:17 +0000 (20:06 +0800)
committerhhb <hhb@rock-chips.com>
Wed, 23 Mar 2011 12:06:17 +0000 (20:06 +0800)
arch/arm/mach-rk29/board-rk29-phonesdk.c
drivers/video/display/screen/Kconfig
drivers/video/display/screen/screen.h

index 135d03201a01fa553dddc226b0b910d4ab147cf6..a96d20b914656f3aed87efc3566c8e76be25b98c 100755 (executable)
@@ -380,7 +380,6 @@ static struct gt801_platform_data gt801_info = {
 #endif
 
 /* EETI_EGALAX touch I2C */
-
 #if defined (CONFIG_EETI_EGALAX)
 #define TOUCH_RESET_PIN RK29_PIN6_PC3
 #define TOUCH_INT_PIN   RK29_PIN4_PD5
index e72253a93fe92827e7694c13539de7c38bbe91fc..b5332d42d09018d7a7cddfeec840a4ac8f159a4d 100755 (executable)
@@ -37,6 +37,8 @@ config LCD_MCU_TFT480800_25_E
        bool "MCU TFT480800_25_E"
 config LCD_ILI9803_CPT4_3
        bool "RGB lcd_ILI9803_CPT4_3"   
+config LCD_ILI9803_CPT4_3
+       bool "RGB lcd_ILI9803_CPT4_3"   
 config LCD_IPS1P5680_V1_E
     bool "MCU IPS1P5680_V1_E"
 config LCD_MCU_TFT480800_25_E
index 761992aa0769b6f4d9527381705e7386f7fdb09d..c5682c3d56e6743d574c04fc0bf5e8013a96f4d7 100755 (executable)
@@ -77,10 +77,10 @@ struct rk29fb_screen {
 
     /* Operation function*/
     int (*init)(void);
-    int (*standby)(u8 enable);
-    int (*refresh)(u8 arg);
-    int (*scandir)(u16 dir);
-    int (*disparea)(u8 area);
+    int (*standby)(u32 enable);
+    int (*refresh)(u32 arg);
+    int (*scandir)(u32 dir);
+    int (*disparea)(u32 area);
 
 };