]> git.ipfire.org Git - thirdparty/linux.git/commit
net: dm9051: fix module autoloading
authorLiao Chen <liaochen4@huawei.com>
Mon, 26 Aug 2024 09:18:56 +0000 (09:18 +0000)
committerJakub Kicinski <kuba@kernel.org>
Tue, 27 Aug 2024 21:26:04 +0000 (14:26 -0700)
commit2e25147a6560b684917d7f7142422c9901badfdd
treeabb0909bdd9949244507ff456597ed9df9730836
parentd76867efebcb20752345e5a41d38bd456427b325
net: dm9051: 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-2-liaochen4@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/davicom/dm9051.c