summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c64xx/mach-hmt.c
diff options
context:
space:
mode:
authorTomasz Figa <tomasz.figa@gmail.com>2013-03-09 15:37:53 +0100
committerTomasz Figa <tomasz.figa@gmail.com>2013-08-12 21:53:22 +0200
commit7fa33bdb4c44155e390c9ebbc5aa4c5cfc73f6fa (patch)
tree35ccb6a980736281e7617cc3f00dd803e4082d6a /arch/arm/mach-s3c64xx/mach-hmt.c
parentd1a8d3ccdf88346d1bb6e733ee8b6b495200290d (diff)
downloadlinux-7fa33bdb4c44155e390c9ebbc5aa4c5cfc73f6fa.tar.gz
linux-7fa33bdb4c44155e390c9ebbc5aa4c5cfc73f6fa.tar.bz2
linux-7fa33bdb4c44155e390c9ebbc5aa4c5cfc73f6fa.zip
ARM: SAMSUNG: Modify board files to use new PWM platform device
This patch modifies any board files using the legacy PWM device to use the new device instead. Signed-off-by: Tomasz Figa <tomasz.figa@gmail.com> Reviewed-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Tested-by: Mark Brown <broonie@linaro.org> Tested-by: Sylwester Nawrocki <sylvester.nawrocki@gmail.com> Acked-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-s3c64xx/mach-hmt.c')
-rw-r--r--arch/arm/mach-s3c64xx/mach-hmt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/mach-s3c64xx/mach-hmt.c b/arch/arm/mach-s3c64xx/mach-hmt.c
index 5b7f357d8c22..f39569e0f2e6 100644
--- a/arch/arm/mach-s3c64xx/mach-hmt.c
+++ b/arch/arm/mach-s3c64xx/mach-hmt.c
@@ -123,7 +123,7 @@ static struct platform_pwm_backlight_data hmt_backlight_data = {
static struct platform_device hmt_backlight_device = {
.name = "pwm-backlight",
.dev = {
- .parent = &s3c_device_timer[1].dev,
+ .parent = &samsung_device_pwm.dev,
.platform_data = &hmt_backlight_data,
},
};
@@ -239,7 +239,7 @@ static struct platform_device *hmt_devices[] __initdata = {
&s3c_device_nand,
&s3c_device_fb,
&s3c_device_ohci,
- &s3c_device_timer[1],
+ &samsung_device_pwm,
&hmt_backlight_device,
&hmt_leds_device,
};