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>
This commit is contained in:
Magnus Damm
2009-04-15 10:50:30 +00:00
committed by Paul Mundt
parent 87a00dc059
commit 28fde6863e
4 changed files with 40 additions and 0 deletions

View File

@@ -270,6 +270,16 @@ static int __init sh7722_devices_setup(void)
}
__initcall(sh7722_devices_setup);
static struct platform_device *sh7722_early_devices[] __initdata = {
&cmt_device,
};
void __init plat_early_device_setup(void)
{
early_platform_add_devices(sh7722_early_devices,
ARRAY_SIZE(sh7722_early_devices));
}
enum {
UNUSED=0,