提交 d0fd35c6 编写于 作者: M Martin Blumenstingl 提交者: Ralf Baechle

MIPS: lantiq: Use of_platform_default_populate instead of __dt_register_buses

This allows populating syscon devices which are using "simple-mfd"
instead of "simple-bus".
Signed-off-by: NHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: NMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Cc: john@phrozen.org
Cc: robh@kernel.org
Cc: andy.shevchenko@gmail.com
Cc: p.zabel@pengutronix.de
Cc: kishon@ti.com
Cc: mark.rutland@arm.com
Cc: linux-mips@linux-mips.org
Cc: linux-mtd@lists.infradead.org
Cc: linux-watchdog@vger.kernel.org
Cc: devicetree@vger.kernel.org
Cc: linux-spi@vger.kernel.org
Patchwork: https://patchwork.linux-mips.org/patch/17116/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 7f15a648
...@@ -117,7 +117,7 @@ void __init prom_init(void) ...@@ -117,7 +117,7 @@ void __init prom_init(void)
int __init plat_of_setup(void) int __init plat_of_setup(void)
{ {
return __dt_register_buses(soc_info.compatible, "simple-bus"); return of_platform_default_populate(NULL, NULL, NULL);
} }
arch_initcall(plat_of_setup); arch_initcall(plat_of_setup);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册