[PATCH net-next] cw1200: add missing MODULE_DEVICE_TABLE

Subsystems: cw1200 wlan driver, the rest

STALE1910d LANDED

Landed in mainline as dd778f89225c on 2021-06-15.

2 messages, 2 authors, 2021-06-15 · open the first message on its own page

[PATCH net-next] cw1200: add missing MODULE_DEVICE_TABLE

From: Zou Wei <hidden>
Date: 2021-05-12 02:48:26

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.

Reported-by: Hulk Robot <redacted>
Signed-off-by: Zou Wei <redacted>
---
 drivers/net/wireless/st/cw1200/cw1200_sdio.c | 1 +
 1 file changed, 1 insertion(+)
diff --git a/drivers/net/wireless/st/cw1200/cw1200_sdio.c b/drivers/net/wireless/st/cw1200/cw1200_sdio.c
index b65ec14..4c30b57 100644
--- a/drivers/net/wireless/st/cw1200/cw1200_sdio.c
+++ b/drivers/net/wireless/st/cw1200/cw1200_sdio.c
@@ -53,6 +53,7 @@ static const struct sdio_device_id cw1200_sdio_ids[] = {
 	{ SDIO_DEVICE(SDIO_VENDOR_ID_STE, SDIO_DEVICE_ID_STE_CW1200) },
 	{ /* end: all zeroes */			},
 };
+MODULE_DEVICE_TABLE(sdio, cw1200_sdio_ids);
 
 /* hwbus_ops implemetation */
 
-- 
2.6.2

Re: [PATCH net-next] cw1200: add missing MODULE_DEVICE_TABLE

From: Kalle Valo <hidden>
Date: 2021-06-15 13:39:27

Zou Wei [off-list ref] 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.

Reported-by: Hulk Robot <redacted>
Signed-off-by: Zou Wei <redacted>
Patch applied to wireless-drivers-next.git, thanks.

dd778f89225c cw1200: add missing MODULE_DEVICE_TABLE

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1620788714-14300-1-git-send-email-zou_wei@huawei.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help