Skip to content

Commit 57d545b

Browse files
mwalleKalle Valo
authored and
Kalle Valo
committed
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: [email protected] Signed-off-by: Michael Walle <[email protected]> Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 8b86046 commit 57d545b

File tree

1 file changed

+1
-0
lines changed
  • drivers/net/wireless/microchip/wilc1000

1 file changed

+1
-0
lines changed

drivers/net/wireless/microchip/wilc1000/sdio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ static const struct sdio_device_id wilc_sdio_ids[] = {
2020
{ SDIO_DEVICE(SDIO_VENDOR_ID_MICROCHIP_WILC, SDIO_DEVICE_ID_MICROCHIP_WILC1000) },
2121
{ },
2222
};
23+
MODULE_DEVICE_TABLE(sdio, wilc_sdio_ids);
2324

2425
#define WILC_SDIO_BLOCK_SIZE 512
2526

0 commit comments

Comments
 (0)