]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: ag71xx: fix module autoloading
authorLiao Chen <liaochen4@huawei.com>
Mon, 26 Aug 2024 09:18:57 +0000 (09:18 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Aug 2024 21:26:05 +0000 (14:26 -0700)
commitc76afed1bace01f5634ca18b3a5c85650ea653ad
treeedbfddd40fc8a9249155ec90cd34be5b8b42a6a3
parent2e25147a6560b684917d7f7142422c9901badfdd
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>
drivers/net/ethernet/atheros/ag71xx.c