Skip to content
Snippets Groups Projects
Commit ccf47f7f authored by Myron Stowe's avatar Myron Stowe
Browse files

PCI: mvebu: Enable module autoloading

JIRA: https://issues.redhat.com/browse/RHEL-83611
Upstream Status: 26cdda544479341d73512f5cf9cf4bab080c11c9

commit 26cdda544479341d73512f5cf9cf4bab080c11c9
Author: Liao Chen <liaochen4@huawei.com>
Date:   Tue Sep 3 13:23:11 2024 +0000

    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>

Signed-off-by: default avatarMyron Stowe <mstowe@redhat.com>
parent 9605f5ab
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment