From: Thierry Reding Date: Fri, 30 Aug 2013 10:13:53 +0000 (+0200) Subject: ARM: OMAP: Initialize PWM backlight enable_gpio field X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d46055af1cc4ba413ae0c3b6f1e6066501f943a0;p=linux-beck.git ARM: OMAP: Initialize PWM backlight enable_gpio field The GPIO API defines 0 as being a valid GPIO number, so this field needs to be initialized explicitly. Signed-off-by: Thierry Reding --- diff --git a/arch/arm/mach-omap2/board-zoom-peripherals.c b/arch/arm/mach-omap2/board-zoom-peripherals.c index a90375d5b2b6..5ed28844e673 100644 --- a/arch/arm/mach-omap2/board-zoom-peripherals.c +++ b/arch/arm/mach-omap2/board-zoom-peripherals.c @@ -227,6 +227,7 @@ static struct platform_pwm_backlight_data zoom_backlight_data = { .max_brightness = 127, .dft_brightness = 127, .pwm_period_ns = 7812500, + .enable_gpio = -1, }; static struct platform_device zoom_backlight_pwm = {