Rafał Miłecki <zajec5@xxxxxxxxx> writes: >> + 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! > > There are two options I guess: > 1) Export of_default_bus_match_table > 2) Use some better condition like > if (IS_BUILTIN(CONFIG_BCMA) && bus->host_pdev) > > Unfortunately I'm on my long holidays right now. > > Hauke: do you think you can find a moment to handle this? I can cook up a patch which uses IS_BUILTIN() so that we get the build working again. You can fix this better once you come back. > Sorry for the problem :| No worries, enjoy your vacation :) -- Kalle Valo -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html