Thread (4 messages) 4 messages, 3 authors, 2015-07-25
STALE3980d

[PATCH] bcma: populate bus DT subnodes as platform_device-s

From: Joachim Eastwood <hidden>
Date: 2015-07-24 16:11:47
Also in: linux-wireless

On 23 July 2015 at 08:06, Kalle Valo [off-list ref] wrote:
Rafa? Mi?ecki [off-list ref] writes:
quoted
quoted
+       if (bus->host_pdev) {
+               struct device *dev = &bus->host_pdev->dev;
+
+               of_platform_populate(dev->of_node, of_default_bus_match_table,
+                                    NULL, dev);
+       }
+
This caused a compile error when using bcma as module:
ERROR: "of_default_bus_match_table" [drivers/bcma/bcma.ko] undefined!
I encountered the same problem with my modular memory controller driver.
quoted
There are two options I guess:
1) Export of_default_bus_match_table
See link below for Rob Herring's take on that.
http://marc.info/?l=linaro-kernel&m=143766694414121&w=2


regards,
Joachim Eastwood
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help