diff options
author | Lee Jones <lee.jones@linaro.org> | 2012-06-15 12:37:44 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2012-07-13 04:14:41 -0400 |
commit | da38487000de965bb94b8f4bca88eade4bb9a485 (patch) | |
tree | b33282819478ca83f0ffda60f2809003b8e5ecb0 /arch/arm/mach-ux500 | |
parent | fc67a597a25684084c539a369c09684bf3c0d88e (diff) |
ARM: ux500: Remove PMU platform registration when booting with DT
PMU registration is successfully completed by Device Tree now, so
there is no longer a requirement to register it from platform code.
This patch removes platform registration during a DT boot.
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
-rw-r--r-- | arch/arm/mach-ux500/cpu-db8500.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index a12bd9eff08..c8dd94f606d 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c | |||
@@ -139,7 +139,6 @@ static struct platform_device *platform_devs[] __initdata = { | |||
139 | 139 | ||
140 | static struct platform_device *of_platform_devs[] __initdata = { | 140 | static struct platform_device *of_platform_devs[] __initdata = { |
141 | &u8500_dma40_device, | 141 | &u8500_dma40_device, |
142 | &db8500_pmu_device, | ||
143 | }; | 142 | }; |
144 | 143 | ||
145 | static resource_size_t __initdata db8500_gpio_base[] = { | 144 | static resource_size_t __initdata db8500_gpio_base[] = { |
@@ -248,7 +247,7 @@ struct device * __init u8500_of_init_devices(void) | |||
248 | /* | 247 | /* |
249 | * Devices to be DT:ed: | 248 | * Devices to be DT:ed: |
250 | * u8500_dma40_device = todo | 249 | * u8500_dma40_device = todo |
251 | * db8500_pmu_device = todo | 250 | * db8500_pmu_device = done |
252 | * db8500_prcmu_device = done | 251 | * db8500_prcmu_device = done |
253 | */ | 252 | */ |
254 | platform_add_devices(of_platform_devs, ARRAY_SIZE(of_platform_devs)); | 253 | platform_add_devices(of_platform_devs, ARRAY_SIZE(of_platform_devs)); |