提交 8fb2bae4 编写于 作者: P Paul Mundt

sh: sh7724: Register CMT as an early platform device here too.

Follows the SH7722/SH7723 changes.
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 d9aed8b9
...@@ -288,6 +288,16 @@ static int __init sh7724_devices_setup(void) ...@@ -288,6 +288,16 @@ static int __init sh7724_devices_setup(void)
} }
device_initcall(sh7724_devices_setup); 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 { enum {
UNUSED = 0, UNUSED = 0,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册