Skip to content

Commit 8fb2bae

Browse files
committed
sh: sh7724: Register CMT as an early platform device here too.
Follows the SH7722/SH7723 changes. Signed-off-by: Paul Mundt <[email protected]>
1 parent d9aed8b commit 8fb2bae

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

arch/sh/kernel/cpu/sh4a/setup-sh7724.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,16 @@ static int __init sh7724_devices_setup(void)
288288
}
289289
device_initcall(sh7724_devices_setup);
290290

291+
static struct platform_device *sh7724_early_devices[] __initdata = {
292+
&cmt_device,
293+
};
294+
295+
void __init plat_early_device_setup(void)
296+
{
297+
early_platform_add_devices(sh7724_early_devices,
298+
ARRAY_SIZE(sh7724_early_devices));
299+
}
300+
291301
enum {
292302
UNUSED = 0,
293303

0 commit comments

Comments
 (0)