aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
diff options
context:
space:
mode:
authorMagnus Damm <damm@igel.co.jp>2009-04-15 06:50:30 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-04-19 00:06:25 -0400
commit28fde6863e6ed1f4bfb7cef080e67bf439c20628 (patch)
treed916649a6b835f71e8b1e286a0299a85d198c788 /arch/sh/kernel/cpu/sh4a/setup-sh7722.c
parent87a00dc059e3af46303f1f56b0e8df41af988c7b (diff)
sh: Early Platform Data for SuperH Mobile
Use plat_early_device_setup() to register Early Platform Data for SuperH Mobile processors. Signed-off-by: Magnus Damm <damm@igel.co.jp> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel/cpu/sh4a/setup-sh7722.c')
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7722.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
index 0e5d204bc792..8f974d0494c9 100644
--- a/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
+++ b/arch/sh/kernel/cpu/sh4a/setup-sh7722.c
@@ -270,6 +270,16 @@ static int __init sh7722_devices_setup(void)
270} 270}
271__initcall(sh7722_devices_setup); 271__initcall(sh7722_devices_setup);
272 272
273static struct platform_device *sh7722_early_devices[] __initdata = {
274 &cmt_device,
275};
276
277void __init plat_early_device_setup(void)
278{
279 early_platform_add_devices(sh7722_early_devices,
280 ARRAY_SIZE(sh7722_early_devices));
281}
282
273enum { 283enum {
274 UNUSED=0, 284 UNUSED=0,
275 285