Skip to content

Commit

Permalink
sh: sh7724: Register CMT as an early platform device here too.
Browse files Browse the repository at this point in the history
Follows the SH7722/SH7723 changes.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Apr 19, 2009
1 parent d9aed8b commit 8fb2bae
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions arch/sh/kernel/cpu/sh4a/setup-sh7724.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,16 @@ static int __init sh7724_devices_setup(void)
}
device_initcall(sh7724_devices_setup);

static struct platform_device *sh7724_early_devices[] __initdata = {
&cmt_device,
};

void __init plat_early_device_setup(void)
{
early_platform_add_devices(sh7724_early_devices,
ARRAY_SIZE(sh7724_early_devices));
}

enum {
UNUSED = 0,

Expand Down

0 comments on commit 8fb2bae

Please sign in to comment.