diff options
author | Thierry Reding <treding@nvidia.com> | 2013-08-30 12:13:53 +0200 |
---|---|---|
committer | Thierry Reding <thierry.reding@gmail.com> | 2013-10-16 09:05:57 +0200 |
commit | d46055af1cc4ba413ae0c3b6f1e6066501f943a0 (patch) | |
tree | 5b4f70b03baa6436f1309b478da4594e40c29025 | |
parent | pwm-backlight: Add optional enable GPIO (diff) | |
download | linux-d46055af1cc4ba413ae0c3b6f1e6066501f943a0.tar.xz linux-d46055af1cc4ba413ae0c3b6f1e6066501f943a0.zip |
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 = { .max_brightness = 127, .dft_brightness = 127, .pwm_period_ns = 7812500, + .enable_gpio = -1, }; static struct platform_device zoom_backlight_pwm = { |