diff options
author | Magnus Damm <damm@igel.co.jp> | 2009-04-15 10:50:30 +0000 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-04-19 13:06:25 +0900 |
commit | 28fde6863e6ed1f4bfb7cef080e67bf439c20628 (patch) | |
tree | d916649a6b835f71e8b1e286a0299a85d198c788 /arch/sh/kernel/cpu/sh4a/setup-sh7723.c | |
parent | 87a00dc059e3af46303f1f56b0e8df41af988c7b (diff) | |
download | op-kernel-dev-28fde6863e6ed1f4bfb7cef080e67bf439c20628.zip op-kernel-dev-28fde6863e6ed1f4bfb7cef080e67bf439c20628.tar.gz |
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-sh7723.c')
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7723.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c index 5338dac..21a58d6 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7723.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7723.c @@ -281,6 +281,16 @@ static int __init sh7723_devices_setup(void) } __initcall(sh7723_devices_setup); +static struct platform_device *sh7723_early_devices[] __initdata = { + &cmt_device, +}; + +void __init plat_early_device_setup(void) +{ + early_platform_add_devices(sh7723_early_devices, + ARRAY_SIZE(sh7723_early_devices)); +} + enum { UNUSED=0, |