mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
wifi: wilc1000: sdio: fix module autoloading
There are no SDIO module aliases included in the driver, therefore, module autoloading isn't working. Add the proper MODULE_DEVICE_TABLE(). Cc: stable@vger.kernel.org Signed-off-by: Michael Walle <michael@walle.cc> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20221027171221.491937-1-michael@walle.cc
This commit is contained in:
parent
8b860466b1
commit
57d545b5a3
1 changed files with 1 additions and 0 deletions
|
@ -20,6 +20,7 @@ static const struct sdio_device_id wilc_sdio_ids[] = {
|
|||
{ SDIO_DEVICE(SDIO_VENDOR_ID_MICROCHIP_WILC, SDIO_DEVICE_ID_MICROCHIP_WILC1000) },
|
||||
{ },
|
||||
};
|
||||
MODULE_DEVICE_TABLE(sdio, wilc_sdio_ids);
|
||||
|
||||
#define WILC_SDIO_BLOCK_SIZE 512
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue