Skip to content

Commit 26cdda5

Browse files
Liao Chenkwilczynski
authored andcommitted
PCI: mvebu: Enable module autoloading
Add MODULE_DEVICE_TABLE(), so modules could be properly autoloaded based on the alias from of_device_id table. Link: https://lore.kernel.org/r/20240903132311.961646-1-liaochen4@huawei.com Signed-off-by: Liao Chen <liaochen4@huawei.com> Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org> Reviewed-by: Andrew Lunn <andrew@lunn.ch>
1 parent 40384c8 commit 26cdda5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/controller/pci-mvebu.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1715,6 +1715,7 @@ static const struct of_device_id mvebu_pcie_of_match_table[] = {
17151715
{ .compatible = "marvell,kirkwood-pcie", },
17161716
{},
17171717
};
1718+
MODULE_DEVICE_TABLE(of, mvebu_pcie_of_match_table);
17181719

17191720
static const struct dev_pm_ops mvebu_pcie_pm_ops = {
17201721
NOIRQ_SYSTEM_SLEEP_PM_OPS(mvebu_pcie_suspend, mvebu_pcie_resume)

0 commit comments

Comments
 (0)