summaryrefslogtreecommitdiff
path: root/arch/arm/mach-s3c64xx/mach-hmt.c
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-08-30 12:19:52 +0200
committerThierry Reding <thierry.reding@gmail.com>2013-10-16 09:05:57 +0200
commita63652f1a7b5b04545bfe0ebc9e54f32bde05caf (patch)
tree69822de3fbb36f603af2d8c0c0e371decd0c94dd /arch/arm/mach-s3c64xx/mach-hmt.c
parentdb01120c5f6cb1d8c6533a49b009f08a73852498 (diff)
ARM: SAMSUNG: 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>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-hmt.c')
-rw-r--r--arch/arm/mach-s3c64xx/mach-hmt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-hmt.c b/arch/arm/mach-s3c64xx/mach-hmt.c
index f39569e0f2e6..7ce417da3103 100644
--- a/arch/arm/mach-s3c64xx/mach-hmt.c
+++ b/arch/arm/mach-s3c64xx/mach-hmt.c
@@ -114,6 +114,7 @@ static struct platform_pwm_backlight_data hmt_backlight_data = {
.max_brightness = 100 * 256,
.dft_brightness = 40 * 256,
.pwm_period_ns = 1000000000 / (100 * 256 * 20),
+ .enable_gpio = -1,
.init = hmt_bl_init,
.notify = hmt_bl_notify,
.exit = hmt_bl_exit,