2010-12-04 14:33:58

by Nicolas Kaiser

[permalink] [raw]
Subject: [PATCH] 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(-)

diff --git a/arch/arm/mach-pxa/colibri-pxa270-income.c b/arch/arm/mach-pxa/colibri-pxa270-income.c
index 37f0f3e..3aba0e1 100644
--- a/arch/arm/mach-pxa/colibri-pxa270-income.c
+++ b/arch/arm/mach-pxa/colibri-pxa270-income.c
@@ -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,
--
1.7.2.2


2010-12-04 15:08:34

by Marek Vasut

[permalink] [raw]
Subject: Re: [PATCH] arm/income pxa270: enable backlight when pwm_bl is a module

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(-)
>
> diff --git a/arch/arm/mach-pxa/colibri-pxa270-income.c
> b/arch/arm/mach-pxa/colibri-pxa270-income.c index 37f0f3e..3aba0e1 100644
> --- a/arch/arm/mach-pxa/colibri-pxa270-income.c
> +++ b/arch/arm/mach-pxa/colibri-pxa270-income.c
> @@ -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,

Acked-by: Marek Vasut <[email protected]>

Cheers