Skip to contentSkip to conversation

arm/income pxa270: enable backlight when pwm_bl is a module

PATCH In review Nicolas Kaiser 2 participants 2 messages Dec 4, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/income pxa270: enable backlight when pwm_bl is a module

Fixes a suspected typo in the config symbol.

---
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
index 37f0f3e..3aba0e1 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
Quoted 21 lines · On Saturday 04 December 2010 15:29:23 Nicolas Kaiser wrote:

Fixes a suspected typo in the config symbol.

---
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.c index 37f0f3e..3aba0e1 100644

arch/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 struct
platform_pwm_backlight_data income_backlight_data = { .pwm_id = 0,
.max_brightness = 0x3ff,

Cheers