summaryrefslogtreecommitdiff
path: root/drivers/net
diff options
context:
space:
mode:
authorZou Wei <zou_wei@huawei.com>2021-05-12 06:05:14 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-07-20 17:16:01 +0300
commitc1ee7d54b08150ed5035071c60d8425ca60815db (patch)
tree272cdf9fec64e13769911c6dae89bdb6747c5c99 /drivers/net
parent115103f6e3f1c26c473766c16439c7c8b235529a (diff)
downloadlinux-c1ee7d54b08150ed5035071c60d8425ca60815db.tar.xz
cw1200: add missing MODULE_DEVICE_TABLE
[ Upstream commit dd778f89225cd258e8f0fed2b7256124982c8bb5 ] 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 <hulkci@huawei.com> Signed-off-by: Zou Wei <zou_wei@huawei.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/1620788714-14300-1-git-send-email-zou_wei@huawei.com Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/wireless/st/cw1200/cw1200_sdio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/st/cw1200/cw1200_sdio.c b/drivers/net/wireless/st/cw1200/cw1200_sdio.c
index 1037ec62659d..ee86436bf152 100644
--- a/drivers/net/wireless/st/cw1200/cw1200_sdio.c
+++ b/drivers/net/wireless/st/cw1200/cw1200_sdio.c
@@ -63,6 +63,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 */