diff options
author | Tomasz Figa <tomasz.figa@gmail.com> | 2013-03-09 09:37:53 -0500 |
---|---|---|
committer | Tomasz Figa <tomasz.figa@gmail.com> | 2013-08-12 15:53:22 -0400 |
commit | 7fa33bdb4c44155e390c9ebbc5aa4c5cfc73f6fa (patch) | |
tree | 35ccb6a980736281e7617cc3f00dd803e4082d6a /arch/arm/mach-s5pv210 | |
parent | d1a8d3ccdf88346d1bb6e733ee8b6b495200290d (diff) |
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-s5pv210')
-rw-r--r-- | arch/arm/mach-s5pv210/mach-smdkv210.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pv210/mach-smdkv210.c b/arch/arm/mach-s5pv210/mach-smdkv210.c index d50b6f124465..6d72bb992e38 100644 --- a/arch/arm/mach-s5pv210/mach-smdkv210.c +++ b/arch/arm/mach-s5pv210/mach-smdkv210.c | |||
@@ -218,6 +218,7 @@ static struct platform_device *smdkv210_devices[] __initdata = { | |||
218 | &s3c_device_i2c0, | 218 | &s3c_device_i2c0, |
219 | &s3c_device_i2c1, | 219 | &s3c_device_i2c1, |
220 | &s3c_device_i2c2, | 220 | &s3c_device_i2c2, |
221 | &samsung_device_pwm, | ||
221 | &s3c_device_rtc, | 222 | &s3c_device_rtc, |
222 | &s3c_device_ts, | 223 | &s3c_device_ts, |
223 | &s3c_device_usb_hsotg, | 224 | &s3c_device_usb_hsotg, |
@@ -316,11 +317,11 @@ static void __init smdkv210_machine_init(void) | |||
316 | 317 | ||
317 | s3c_fb_set_platdata(&smdkv210_lcd0_pdata); | 318 | s3c_fb_set_platdata(&smdkv210_lcd0_pdata); |
318 | 319 | ||
319 | samsung_bl_set(&smdkv210_bl_gpio_info, &smdkv210_bl_data); | ||
320 | |||
321 | s3c_hsotg_set_platdata(&smdkv210_hsotg_pdata); | 320 | s3c_hsotg_set_platdata(&smdkv210_hsotg_pdata); |
322 | 321 | ||
323 | platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices)); | 322 | platform_add_devices(smdkv210_devices, ARRAY_SIZE(smdkv210_devices)); |
323 | |||
324 | samsung_bl_set(&smdkv210_bl_gpio_info, &smdkv210_bl_data); | ||
324 | } | 325 | } |
325 | 326 | ||
326 | MACHINE_START(SMDKV210, "SMDKV210") | 327 | MACHINE_START(SMDKV210, "SMDKV210") |