Unverified Commit 26cdda54 authored by Liao Chen's avatar Liao Chen Committed by Krzysztof Wilczyński
Browse files

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: default avatarLiao Chen <liaochen4@huawei.com>
Signed-off-by: default avatarKrzysztof Wilczyński <kwilczynski@kernel.org>
Reviewed-by: default avatarAndrew Lunn <andrew@lunn.ch>
parent 40384c84
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)