diff mbox

ARM: shmobile: break out sh7372 platform devices

Message ID 20101013072211.19725.56630.sendpatchset@t400s (mailing list archive)
State Accepted
Headers show

Commit Message

Magnus Damm Oct. 13, 2010, 7:22 a.m. UTC
None
diff mbox

Patch

--- 0003/arch/arm/mach-shmobile/setup-sh7372.c
+++ work/arch/arm/mach-shmobile/setup-sh7372.c	2010-10-13 15:35:44.000000000 +0900
@@ -527,6 +527,9 @@  static struct platform_device *sh7372_ea
 	&scif5_device,
 	&scif6_device,
 	&cmt10_device,
+};
+
+static struct platform_device *sh7372_late_devices[] __initdata = {
 	&iic0_device,
 	&iic1_device,
 	&dma0_device,
@@ -538,6 +541,9 @@  void __init sh7372_add_standard_devices(
 {
 	platform_add_devices(sh7372_early_devices,
 			    ARRAY_SIZE(sh7372_early_devices));
+
+	platform_add_devices(sh7372_late_devices,
+			    ARRAY_SIZE(sh7372_late_devices));
 }
 
 void __init sh7372_add_early_devices(void)