Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dee42ebe authored by Lee Jones's avatar Lee Jones Committed by Arnd Bergmann
Browse files

ARM: ux500: Remove DB8500 PRCMU platform registration when DT is enabled



Now the DB8500 has Device Tree support it will be probed when the DT
is parsed, rendering the requirement for platform registration void.
This patch removes DB8500 PRCMU platform registration.

Acked-by: default avatarLinus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent ada46cda
Loading
Loading
Loading
Loading
+1 −2
Original line number Original line Diff line number Diff line
@@ -140,7 +140,6 @@ static struct platform_device *platform_devs[] __initdata = {
static struct platform_device *of_platform_devs[] __initdata = {
static struct platform_device *of_platform_devs[] __initdata = {
	&u8500_dma40_device,
	&u8500_dma40_device,
	&db8500_pmu_device,
	&db8500_pmu_device,
	&db8500_prcmu_device,
};
};


static resource_size_t __initdata db8500_gpio_base[] = {
static resource_size_t __initdata db8500_gpio_base[] = {
@@ -251,7 +250,7 @@ struct device * __init u8500_of_init_devices(void)
	 * Devices to be DT:ed:
	 * Devices to be DT:ed:
	 *   u8500_dma40_device  = todo
	 *   u8500_dma40_device  = todo
	 *   db8500_pmu_device   = todo
	 *   db8500_pmu_device   = todo
	 *   db8500_prcmu_device = todo
	 *   db8500_prcmu_device = done
	 */
	 */
	platform_add_devices(of_platform_devs, ARRAY_SIZE(of_platform_devs));
	platform_add_devices(of_platform_devs, ARRAY_SIZE(of_platform_devs));