Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: ethernet: adin1110: Add missing MODULE_DEVICE_TABLE

This patch adds missing MODULE_DEVICE_TABLE definition which generates
correct modalias for automatic loading of this driver when it is built
as an external module.

Fixes: bc93e19d088b ("net: ethernet: adi: Add ADIN1110 support")
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220922070438.586692-1-yangyingliang@huawei.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Yang Yingliang and committed by
Jakub Kicinski
bb65131b 1bba1998

+1
+1
drivers/net/ethernet/adi/adin1110.c
··· 1680 1680 { .name = "adin2111", .driver_data = ADIN2111_MAC }, 1681 1681 { } 1682 1682 }; 1683 + MODULE_DEVICE_TABLE(spi, adin1110_spi_id); 1683 1684 1684 1685 static struct spi_driver adin1110_driver = { 1685 1686 .driver = {