diff options
author | Magnus Damm <damm@opensource.se> | 2010-10-13 03:22:11 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-10-13 05:43:56 -0400 |
commit | 934e40781aa92dae0b9d753d7de4a743c96b9bd2 (patch) | |
tree | a6c2778e5ccbed7d26a10671de17f23e9dc4b8a9 /arch/arm | |
parent | 532daaa1108390c5c0070ab6d32bd20b53ee4e41 (diff) |
ARM: shmobile: break out sh7372 platform devices
This patch introduces sh7372_late_devices which
should include all regular processor specific
platform devices.
Early platform devices for console and timers
should be put on the sh7372_early_devices list,
all other devices should be on sh7372_late_devices.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-shmobile/setup-sh7372.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/setup-sh7372.c b/arch/arm/mach-shmobile/setup-sh7372.c index f6cdf76a3a3d..68c8d6c67f4e 100644 --- a/arch/arm/mach-shmobile/setup-sh7372.c +++ b/arch/arm/mach-shmobile/setup-sh7372.c | |||
@@ -526,6 +526,9 @@ static struct platform_device *sh7372_early_devices[] __initdata = { | |||
526 | &scif5_device, | 526 | &scif5_device, |
527 | &scif6_device, | 527 | &scif6_device, |
528 | &cmt10_device, | 528 | &cmt10_device, |
529 | }; | ||
530 | |||
531 | static struct platform_device *sh7372_late_devices[] __initdata = { | ||
529 | &iic0_device, | 532 | &iic0_device, |
530 | &iic1_device, | 533 | &iic1_device, |
531 | &dma0_device, | 534 | &dma0_device, |
@@ -537,6 +540,9 @@ void __init sh7372_add_standard_devices(void) | |||
537 | { | 540 | { |
538 | platform_add_devices(sh7372_early_devices, | 541 | platform_add_devices(sh7372_early_devices, |
539 | ARRAY_SIZE(sh7372_early_devices)); | 542 | ARRAY_SIZE(sh7372_early_devices)); |
543 | |||
544 | platform_add_devices(sh7372_late_devices, | ||
545 | ARRAY_SIZE(sh7372_late_devices)); | ||
540 | } | 546 | } |
541 | 547 | ||
542 | void __init sh7372_add_early_devices(void) | 548 | void __init sh7372_add_early_devices(void) |