summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s5pc100/mach-smdkc100.c
diff options
context:
space:
mode:
authorThierry Reding2013-08-30 12:19:52 +0200
committerThierry Reding2013-10-16 09:05:57 +0200
commita63652f1a7b5b04545bfe0ebc9e54f32bde05caf (patch)
tree69822de3fbb36f603af2d8c0c0e371decd0c94dd /arch/arm/mach-s5pc100/mach-smdkc100.c
parentARM: pxa: Initialize PWM backlight enable_gpio field (diff)
downloadkernel-qcow2-linux-a63652f1a7b5b04545bfe0ebc9e54f32bde05caf.tar.gz
kernel-qcow2-linux-a63652f1a7b5b04545bfe0ebc9e54f32bde05caf.tar.xz
kernel-qcow2-linux-a63652f1a7b5b04545bfe0ebc9e54f32bde05caf.zip
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-s5pc100/mach-smdkc100.c')
-rw-r--r--arch/arm/mach-s5pc100/mach-smdkc100.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/mach-smdkc100.c b/arch/arm/mach-s5pc100/mach-smdkc100.c
index 7c57a221785e..9e256b9fc930 100644
--- a/arch/arm/mach-s5pc100/mach-smdkc100.c
+++ b/arch/arm/mach-s5pc100/mach-smdkc100.c
@@ -216,6 +216,7 @@ static struct samsung_bl_gpio_info smdkc100_bl_gpio_info = {
static struct platform_pwm_backlight_data smdkc100_bl_data = {
.pwm_id = 0,
+ .enable_gpio = -1,
};
static void __init smdkc100_map_io(void)