PCI: mvebu: Enable module autoloading
Subsystems (3)
PATCH 1/1 PCI: mvebu: Enable module autoloading
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table.
Signed-off-by Liao Chen <[email protected]>
--- drivers/pci/controller/pci-mvebu.c | 1 + 1 file changed, 1 insertion(+)
drivers/pci/controller/pci-mvebu.c +1 -0
@@ -1715,6 +1715,7 @@ static const struct of_device_id mvebu_pcie_of_match_table[] = { { .compatible = "marvell,kirkwood-pcie", }, {}, }; +MODULE_DEVICE_TABLE (of, mvebu_pcie_of_match_table);static const struct dev_pm_ops mvebu_pcie_pm_ops = {NOIRQ_SYSTEM_SLEEP_PM_OPS (mvebu_pcie_suspend, mvebu_pcie_resume)
Signature · 1 line
2.34.1
Quoted 4 lines · Liao Chen
Add
MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias fromof_device_idtable.Signed-off-by Liao Chen <[email protected]>
It is maybe too late for this merge window. Please repost when the next cycle starts.
Reviewed-by Andrew Lunn <[email protected]>
Andrew
Krzysztof Wilczyński
AppliedHello,
Quoted 2 lines
Add
MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias fromof_device_idtable.
Applied to controller/mvebu for v6.14, thank you!
Krzysztof