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-s5pc100 | |
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-s5pc100')
-rw-r--r-- | arch/arm/mach-s5pc100/mach-smdkc100.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/mach-s5pc100/mach-smdkc100.c b/arch/arm/mach-s5pc100/mach-smdkc100.c index 8c880f76f274..7c57a221785e 100644 --- a/arch/arm/mach-s5pc100/mach-smdkc100.c +++ b/arch/arm/mach-s5pc100/mach-smdkc100.c | |||
@@ -194,6 +194,7 @@ static struct platform_device *smdkc100_devices[] __initdata = { | |||
194 | &s3c_device_hsmmc0, | 194 | &s3c_device_hsmmc0, |
195 | &s3c_device_hsmmc1, | 195 | &s3c_device_hsmmc1, |
196 | &s3c_device_hsmmc2, | 196 | &s3c_device_hsmmc2, |
197 | &samsung_device_pwm, | ||
197 | &s3c_device_ts, | 198 | &s3c_device_ts, |
198 | &s3c_device_wdt, | 199 | &s3c_device_wdt, |
199 | &smdkc100_lcd_powerdev, | 200 | &smdkc100_lcd_powerdev, |
@@ -246,9 +247,9 @@ static void __init smdkc100_machine_init(void) | |||
246 | gpio_request(S5PC100_GPH0(6), "GPH0"); | 247 | gpio_request(S5PC100_GPH0(6), "GPH0"); |
247 | smdkc100_lcd_power_set(&smdkc100_lcd_power_data, 0); | 248 | smdkc100_lcd_power_set(&smdkc100_lcd_power_data, 0); |
248 | 249 | ||
249 | samsung_bl_set(&smdkc100_bl_gpio_info, &smdkc100_bl_data); | ||
250 | |||
251 | platform_add_devices(smdkc100_devices, ARRAY_SIZE(smdkc100_devices)); | 250 | platform_add_devices(smdkc100_devices, ARRAY_SIZE(smdkc100_devices)); |
251 | |||
252 | samsung_bl_set(&smdkc100_bl_gpio_info, &smdkc100_bl_data); | ||
252 | } | 253 | } |
253 | 254 | ||
254 | MACHINE_START(SMDKC100, "SMDKC100") | 255 | MACHINE_START(SMDKC100, "SMDKC100") |