aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ux500/cpu-db8500.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db8500.c')
-rw-r--r--arch/arm/mach-ux500/cpu-db8500.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c
index 4acab7544b3c..5966f353890f 100644
--- a/arch/arm/mach-ux500/cpu-db8500.c
+++ b/arch/arm/mach-ux500/cpu-db8500.c
@@ -22,6 +22,8 @@
22#include <mach/setup.h> 22#include <mach/setup.h>
23#include <mach/devices.h> 23#include <mach/devices.h>
24 24
25#include "devices-db8500.h"
26
25static struct platform_device *platform_devs[] __initdata = { 27static struct platform_device *platform_devs[] __initdata = {
26 &u8500_gpio_devs[0], 28 &u8500_gpio_devs[0],
27 &u8500_gpio_devs[1], 29 &u8500_gpio_devs[1],
@@ -152,12 +154,11 @@ void __init u8500_init_devices(void)
152 else 154 else
153 pr_warning("ASIC: UNKNOWN SILICON VERSION!\n"); 155 pr_warning("ASIC: UNKNOWN SILICON VERSION!\n");
154 156
155 ux500_init_devices();
156
157 if (cpu_is_u8500ed()) 157 if (cpu_is_u8500ed())
158 dma40_u8500ed_fixup(); 158 dma40_u8500ed_fixup();
159 159
160 /* Register the platform devices */ 160 db8500_add_rtc();
161
161 platform_add_devices(platform_devs, ARRAY_SIZE(platform_devs)); 162 platform_add_devices(platform_devs, ARRAY_SIZE(platform_devs));
162 163
163 return ; 164 return ;