rk2928: fix the compatible bug between a720 and m713 about backlight
authorxieyi <xieyi@rock-chips.com>
Wed, 26 Sep 2012 02:58:24 +0000 (10:58 +0800)
committerxieyi <xieyi@rock-chips.com>
Wed, 26 Sep 2012 03:05:06 +0000 (11:05 +0800)
arch/arm/mach-rk2928/board-rk2928-a720.c

index 1e816f3eed526b5d229867e3a69fccd9491bf7dc..56c3baaf5b8e38b5b2451adffdec9bc45895ffc1 100755 (executable)
@@ -82,7 +82,11 @@ static struct spi_board_info board_spi_devices[] = {
 #define PWM_GPIO         RK2928_PIN0_PD2
 #define PWM_EFFECT_VALUE  0
 
+#if defined(CONFIG_MACH_RK2926_M713)
 //#define LCD_DISP_ON_PIN
+#else
+#define LCD_DISP_ON_PIN
+#endif
 
 #ifdef  LCD_DISP_ON_PIN