projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9aed8b
)
sh: sh7724: Register CMT as an early platform device here too.
author
Paul Mundt
<lethal@linux-sh.org>
Sun, 19 Apr 2009 04:14:29 +0000
(13:14 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Sun, 19 Apr 2009 04:14:29 +0000
(13:14 +0900)
Follows the SH7722/SH7723 changes.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/cpu/sh4a/setup-sh7724.c
patch
|
blob
|
history
diff --git
a/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
b/arch/sh/kernel/cpu/sh4a/setup-sh7724.c
index 195274a74f8d46b6be46e8a4fdb6abeae9d7582c..8429396acb591c05301644a1542377e26c10f52e 100644
(file)
--- 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,