|
@@ -204,7 +204,9 @@ static struct sharpsl_charger_machinfo corgi_pm_machinfo = {
|
|
.read_devdata = corgipm_read_devdata,
|
|
.read_devdata = corgipm_read_devdata,
|
|
.charger_wakeup = corgi_charger_wakeup,
|
|
.charger_wakeup = corgi_charger_wakeup,
|
|
.should_wakeup = corgi_should_wakeup,
|
|
.should_wakeup = corgi_should_wakeup,
|
|
-#ifdef CONFIG_BACKLIGHT_CORGI
|
|
|
|
|
|
+#if defined(CONFIG_LCD_CORGI)
|
|
|
|
+ .backlight_limit = corgi_lcd_limit_intensity,
|
|
|
|
+#elif defined(CONFIG_BACKLIGHT_CORGI)
|
|
.backlight_limit = corgibl_limit_intensity,
|
|
.backlight_limit = corgibl_limit_intensity,
|
|
#endif
|
|
#endif
|
|
.charge_on_volt = SHARPSL_CHARGE_ON_VOLT,
|
|
.charge_on_volt = SHARPSL_CHARGE_ON_VOLT,
|