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

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: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Martin 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: Ralf Baechle <ralf@linux-mips.org>

authored by

Martin Blumenstingl and committed by
Ralf Baechle
d0fd35c6 7f15a648

+1 -1
+1 -1
arch/mips/lantiq/prom.c
··· 117 117 118 118 int __init plat_of_setup(void) 119 119 { 120 - return __dt_register_buses(soc_info.compatible, "simple-bus"); 120 + return of_platform_default_populate(NULL, NULL, NULL); 121 121 } 122 122 123 123 arch_initcall(plat_of_setup);