diff options
author | Thierry Reding <treding@nvidia.com> | 2013-08-30 06:13:53 -0400 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-10-16 03:05:57 -0400 |
commit | d46055af1cc4ba413ae0c3b6f1e6066501f943a0 (patch) | |
tree | 5b4f70b03baa6436f1309b478da4594e40c29025 | |
parent | 2b9b1620349e325f184c68cddf3b484499c163c0 (diff) |
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 <treding@nvidia.com>
-rw-r--r-- | arch/arm/mach-omap2/board-zoom-peripherals.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = { | |||
227 | .max_brightness = 127, | 227 | .max_brightness = 127, |
228 | .dft_brightness = 127, | 228 | .dft_brightness = 127, |
229 | .pwm_period_ns = 7812500, | 229 | .pwm_period_ns = 7812500, |
230 | .enable_gpio = -1, | ||
230 | }; | 231 | }; |
231 | 232 | ||
232 | static struct platform_device zoom_backlight_pwm = { | 233 | static struct platform_device zoom_backlight_pwm = { |