# \[PATCH v6 01/16\] MIPS: lantiq: Use of\_platform\_default\_populate instead of \_\_dt\_register\_buses

- From: Hauke Mehrtens \<hidden\>
- Date: 2017-06-29 21:39:36 
- List: linux-devicetree
- Page: https://ratatoskr.run/linux-devicetree/2017/06/8140899
- Thread: https://ratatoskr.run/linux-devicetree/2017/06/8140899/t.md

```text
From: Martin Blumenstingl <redacted>

This allows populating syscon devices which are using "simple-mfd"
instead of "simple-bus".

Signed-off-by: Hauke Mehrtens <redacted>
Signed-off-by: Martin Blumenstingl <redacted>
---
 arch/mips/lantiq/prom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
index 96773bed8a8a..9ff7ccde9de0 100644
--- a/arch/mips/lantiq/prom.c
+++ b/arch/mips/lantiq/prom.c
@@ -117,7 +117,7 @@ void __init prom_init(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);
-- 
2.11.0

--
To unsubscribe from this list: send the line "unsubscribe linux-spi" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
