mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-16 22:10:24 +00:00
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/
This commit is contained in:
parent
8bb5a87508
commit
187e7c5f87
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user