diff options
author | Qais Yousef <qais.yousef@imgtec.com> | 2013-12-06 11:00:44 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-01-23 13:02:36 +0100 |
commit | 187e7c5f87822262e41b157acc2ab79e0b20a4db (patch) | |
tree | 472c4ffd2e48a9905e53c8b6cb83d1d85e05bf03 /arch/mips/mti-sead3 | |
parent | 8bb5a8750836d93116204942e4603bc4a19fcd03 (diff) | |
download | blackbird-op-linux-187e7c5f87822262e41b157acc2ab79e0b20a4db.tar.gz blackbird-op-linux-187e7c5f87822262e41b157acc2ab79e0b20a4db.zip |
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) 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); |