summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-19 13:14:29 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-04-19 13:14:29 +0900
commit8fb2bae4b41eb64f6e233e9bd3f3a789fbb04a06 (patch)
tree09d0646220f521155ec949e0e304fb3365b52714
parentd9aed8b95f062b2f96e37b0e07373f36a6e7066d (diff)
downloadop-kernel-dev-8fb2bae4b41eb64f6e233e9bd3f3a789fbb04a06.zip
op-kernel-dev-8fb2bae4b41eb64f6e233e9bd3f3a789fbb04a06.tar.gz
sh: sh7724: Register CMT as an early platform device here too.
Follows the SH7722/SH7723 changes. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r--arch/sh/kernel/cpu/sh4a/setup-sh7724.c10
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 195274a..8429396 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)
}
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,
OpenPOWER on IntegriCloud