diff options
-rw-r--r-- | arch/sh/kernel/cpu/sh4a/setup-sh7724.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c index 195274a74f8d..8429396acb59 100644 --- a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c +++ b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c | |||
@@ -288,6 +288,16 @@ static int __init sh7724_devices_setup(void) | |||
288 | } | 288 | } |
289 | device_initcall(sh7724_devices_setup); | 289 | device_initcall(sh7724_devices_setup); |
290 | 290 | ||
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 | |||
291 | enum { | 301 | enum { |
292 | UNUSED = 0, | 302 | UNUSED = 0, |
293 | 303 | ||