diff options
author | Qais Yousef <qais.yousef@imgtec.com> | 2013-12-06 06:00:44 -0500 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-23 07:02:36 -0500 |
commit | 187e7c5f87822262e41b157acc2ab79e0b20a4db (patch) | |
tree | 472c4ffd2e48a9905e53c8b6cb83d1d85e05bf03 /arch/mips/mti-sead3 | |
parent | 8bb5a8750836d93116204942e4603bc4a19fcd03 (diff) |
MIPS: sead3: populate platform devices from device tree
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/
Diffstat (limited to 'arch/mips/mti-sead3')
-rw-r--r-- | arch/mips/mti-sead3/sead3-setup.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/mips/mti-sead3/sead3-setup.c b/arch/mips/mti-sead3/sead3-setup.c index a499f9940fd7..541a90798d42 100644 --- 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) | |||
111 | 111 | ||
112 | unflatten_device_tree(); | 112 | unflatten_device_tree(); |
113 | } | 113 | } |
114 | |||
115 | static int __init customize_machine(void) | ||
116 | { | ||
117 | of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); | ||
118 | return 0; | ||
119 | } | ||
120 | arch_initcall(customize_machine); | ||