aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx
diff options
context:
space:
mode:
authorThierry Reding <treding@nvidia.com>2013-08-30 06:19:52 -0400
committerThierry Reding <thierry.reding@gmail.com>2013-10-16 03:05:57 -0400
commita63652f1a7b5b04545bfe0ebc9e54f32bde05caf (patch)
tree69822de3fbb36f603af2d8c0c0e371decd0c94dd /arch/arm/mach-s3c64xx
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')
-rw-r--r--arch/arm/mach-s3c64xx/mach-crag6410.c1
-rw-r--r--arch/arm/mach-s3c64xx/mach-hmt.c1
-rw-r--r--arch/arm/mach-s3c64xx/mach-smartq.c1
-rw-r--r--arch/arm/mach-s3c64xx/mach-smdk6410.c1
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-crag6410.c b/arch/arm/mach-s3c64xx/mach-crag6410.c
index eb8e5a1aca42..51d0fcd161d5 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410.c
@@ -114,6 +114,7 @@ static struct platform_pwm_backlight_data crag6410_backlight_data = {
114 .max_brightness = 1000, 114 .max_brightness = 1000,
115 .dft_brightness = 600, 115 .dft_brightness = 600,
116 .pwm_period_ns = 100000, /* about 1kHz */ 116 .pwm_period_ns = 100000, /* about 1kHz */
117 .enable_gpio = -1,
117}; 118};
118 119
119static struct platform_device crag6410_backlight_device = { 120static struct platform_device crag6410_backlight_device = {
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 = {
114 .max_brightness = 100 * 256, 114 .max_brightness = 100 * 256,
115 .dft_brightness = 40 * 256, 115 .dft_brightness = 40 * 256,
116 .pwm_period_ns = 1000000000 / (100 * 256 * 20), 116 .pwm_period_ns = 1000000000 / (100 * 256 * 20),
117 .enable_gpio = -1,
117 .init = hmt_bl_init, 118 .init = hmt_bl_init,
118 .notify = hmt_bl_notify, 119 .notify = hmt_bl_notify,
119 .exit = hmt_bl_exit, 120 .exit = hmt_bl_exit,
diff --git a/arch/arm/mach-s3c64xx/mach-smartq.c b/arch/arm/mach-s3c64xx/mach-smartq.c
index 86d980b448fd..f3699a92d438 100644
--- a/arch/arm/mach-s3c64xx/mach-smartq.c
+++ b/arch/arm/mach-s3c64xx/mach-smartq.c
@@ -151,6 +151,7 @@ static struct platform_pwm_backlight_data smartq_backlight_data = {
151 .max_brightness = 1000, 151 .max_brightness = 1000,
152 .dft_brightness = 600, 152 .dft_brightness = 600,
153 .pwm_period_ns = 1000000000 / (1000 * 20), 153 .pwm_period_ns = 1000000000 / (1000 * 20),
154 .enable_gpio = -1,
154 .init = smartq_bl_init, 155 .init = smartq_bl_init,
155}; 156};
156 157
diff --git a/arch/arm/mach-s3c64xx/mach-smdk6410.c b/arch/arm/mach-s3c64xx/mach-smdk6410.c
index d90b450c5645..0bf5b331ba5c 100644
--- a/arch/arm/mach-s3c64xx/mach-smdk6410.c
+++ b/arch/arm/mach-s3c64xx/mach-smdk6410.c
@@ -625,6 +625,7 @@ static struct samsung_bl_gpio_info smdk6410_bl_gpio_info = {
625 625
626static struct platform_pwm_backlight_data smdk6410_bl_data = { 626static struct platform_pwm_backlight_data smdk6410_bl_data = {
627 .pwm_id = 1, 627 .pwm_id = 1,
628 .enable_gpio = -1,
628}; 629};
629 630
630static struct s3c_hsotg_plat smdk6410_hsotg_pdata; 631static struct s3c_hsotg_plat smdk6410_hsotg_pdata;