diff options
author | Zou Wei <zou_wei@huawei.com> | 2021-05-12 06:05:14 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-06-15 16:38:22 +0300 |
commit | dd778f89225cd258e8f0fed2b7256124982c8bb5 (patch) | |
tree | d716e665ab5760edd873f75340104b08193624b4 /drivers/net/wireless/st/cw1200 | |
parent | d56b69c4fbc7fc85d1a232967ff72c99c3ea2b95 (diff) | |
download | linux-dd778f89225cd258e8f0fed2b7256124982c8bb5.tar.xz |
cw1200: 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.
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
Diffstat (limited to 'drivers/net/wireless/st/cw1200')
-rw-r--r-- | drivers/net/wireless/st/cw1200/cw1200_sdio.c | 1 |
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 b65ec14136c7..4c30b5772ce0 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 */ |