Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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/

authored by

Qais Yousef and committed by
Ralf Baechle
187e7c5f 8bb5a875

+7
+7
arch/mips/mti-sead3/sead3-setup.c
··· 111 111 112 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);