diff options
Diffstat (limited to 'arch/arm/mach-ux500/cpu-db5500.c')
-rw-r--r-- | arch/arm/mach-ux500/cpu-db5500.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-ux500/cpu-db5500.c b/arch/arm/mach-ux500/cpu-db5500.c index 8f8acfdd4a1b..bca47f32082f 100644 --- a/arch/arm/mach-ux500/cpu-db5500.c +++ b/arch/arm/mach-ux500/cpu-db5500.c | |||
@@ -227,6 +227,7 @@ static struct device * __init db5500_soc_device_init(void) | |||
227 | struct device * __init u5500_init_devices(void) | 227 | struct device * __init u5500_init_devices(void) |
228 | { | 228 | { |
229 | struct device *parent; | 229 | struct device *parent; |
230 | int i; | ||
230 | 231 | ||
231 | parent = db5500_soc_device_init(); | 232 | parent = db5500_soc_device_init(); |
232 | 233 | ||
@@ -236,6 +237,9 @@ struct device * __init u5500_init_devices(void) | |||
236 | db5500_add_rtc(parent); | 237 | db5500_add_rtc(parent); |
237 | db5500_add_usb(parent, usb_db5500_rx_dma_cfg, usb_db5500_tx_dma_cfg); | 238 | db5500_add_usb(parent, usb_db5500_rx_dma_cfg, usb_db5500_tx_dma_cfg); |
238 | 239 | ||
240 | for (i = 0; i < ARRAY_SIZE(db5500_platform_devs); i++) | ||
241 | db5500_platform_devs[i]->dev.parent = parent; | ||
242 | |||
239 | platform_add_devices(db5500_platform_devs, | 243 | platform_add_devices(db5500_platform_devs, |
240 | ARRAY_SIZE(db5500_platform_devs)); | 244 | ARRAY_SIZE(db5500_platform_devs)); |
241 | 245 | ||