arm/income pxa270: enable backlight when pwm_bl is a module
Subsystems (3)
PATCH 1/1 arm/income pxa270: enable backlight when pwm_bl is a module
Fixes a suspected typo in the config symbol.
Signed-off-by Nicolas Kaiser <[email protected]>
---
I don't have the hardware to test, but this config symbol looks unusual enough to me that I'm suspecting it might be a typo.
arch/arm/mach-pxa/colibri-pxa270-income.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-pxa/colibri-pxa270-income.c +1 -1
@@ -231,7 +231,7 @@ static inline void income_lcd_init(void) {}/****************************************************************************** * Backlight ******************************************************************************/ -#if defined(CONFIG_BACKLIGHT_PWM ) || defined(CONFIG_BACKLIGHT_PWM__MODULE ) +#if defined(CONFIG_BACKLIGHT_PWM ) || defined(CONFIG_BACKLIGHT_PWM_MODULE )static struct platform_pwm_backlight_data income_backlight_data = { .pwm_id =0 , .max_brightness = 0x3ff,
Signature · 1 line
1.7.2.2
Quoted 21 lines · On Saturday 04 December 2010 15:29:23 Nicolas Kaiser wrote:
Fixes a suspected typo in the config symbol.
Signed-off-by Nicolas Kaiser <[email protected]>---
I don't have the hardware to test, but this config symbol looks unusual enough to me that I'm suspecting it might be a typo.arch/arm/mach-pxa/colibri-pxa270-income.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)(quoted diff) +0
-0
b/arch/arm/mach-pxa/colibri-pxa270-income.cindex 37f0f3e..3aba0e1 100644arch/arm/mach-pxa/colibri-pxa270-income.c +0
-0@@ -231,7 +231,7 @@ static inline void income_lcd_init(void) {}/************************************************************************* ***** * Backlight ************************************************************************** ****/ -#if defined(CONFIG_BACKLIGHT_PWM) || defined(CONFIG_BACKLIGHT_PWM__MODULE) +#if defined(CONFIG_BACKLIGHT_PWM)
Quoted 3 lines
||
defined(CONFIG_BACKLIGHT_PWM_MODULE)static structplatform_pwm_backlight_dataincome_backlight_data= { .pwm_id = 0,
.max_brightness =0x3ff,
Acked-by Marek Vasut <[email protected]>
Cheers