projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bb5a87
)
MIPS: sead3: populate platform devices from device tree
author
Qais Yousef
<qais.yousef@imgtec.com>
Fri, 6 Dec 2013 11:00:44 +0000
(11:00 +0000)
committer
Ralf Baechle
<ralf@linux-mips.org>
Thu, 23 Jan 2014 12:02:36 +0000
(13:02 +0100)
Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
Reviewed-by: Paul Burton <paul.burton@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: John Crispin <blogic@openwrt.org>
Patchwork: http://patchwork.linux-mips.org/patch/6209/
arch/mips/mti-sead3/sead3-setup.c
patch
|
blob
|
history
diff --git
a/arch/mips/mti-sead3/sead3-setup.c
b/arch/mips/mti-sead3/sead3-setup.c
index
a499f99
..
541a907
100644
(file)
--- a/
arch/mips/mti-sead3/sead3-setup.c
+++ b/
arch/mips/mti-sead3/sead3-setup.c
@@
-111,3
+111,10
@@
void __init device_tree_init(void)
unflatten_device_tree();
}
+
+static int __init customize_machine(void)
+{
+ of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
+ return 0;
+}
+arch_initcall(customize_machine);