mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 17:00:08 -04:00
net: ag71xx: fix 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 <liaochen4@huawei.com> Link: https://patch.msgid.link/20240826091858.369910-3-liaochen4@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
committed by
Jakub Kicinski
parent
2e25147a65
commit
c76afed1ba
@@ -2022,6 +2022,7 @@ static const struct of_device_id ag71xx_match[] = {
|
||||
{ .compatible = "qca,qca9560-eth", .data = &ag71xx_dcfg_qca9550 },
|
||||
{}
|
||||
};
|
||||
MODULE_DEVICE_TABLE(of, ag71xx_match);
|
||||
|
||||
static struct platform_driver ag71xx_driver = {
|
||||
.probe = ag71xx_probe,
|
||||
|
||||
Reference in New Issue
Block a user