Message ID | 20220922070438.586692-1-yangyingliang@huawei.com (mailing list archive) |
---|---|
State | Accepted |
Commit | bb65131bb62cac309596a8825f80e1914080c776 |
Delegated to: | Netdev Maintainers |
Headers | show |
Series | [-next] net: ethernet: adin1110: Add missing MODULE_DEVICE_TABLE | expand |
Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski <kuba@kernel.org>: On Thu, 22 Sep 2022 15:04:38 +0800 you wrote: > 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> > > [...] Here is the summary with links: - [-next] net: ethernet: adin1110: Add missing MODULE_DEVICE_TABLE https://git.kernel.org/netdev/net-next/c/bb65131bb62c You are awesome, thank you!
diff --git a/drivers/net/ethernet/adi/adin1110.c b/drivers/net/ethernet/adi/adin1110.c index 4f3c372292f3..2c2ac64c2d39 100644 --- a/drivers/net/ethernet/adi/adin1110.c +++ b/drivers/net/ethernet/adi/adin1110.c @@ -1680,6 +1680,7 @@ static const struct spi_device_id adin1110_spi_id[] = { { .name = "adin2111", .driver_data = ADIN2111_MAC }, { } }; +MODULE_DEVICE_TABLE(spi, adin1110_spi_id); static struct spi_driver adin1110_driver = { .driver = {
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> --- drivers/net/ethernet/adi/adin1110.c | 1 + 1 file changed, 1 insertion(+)