Skip to content

Commit 9e9ef43

Browse files
ajaykathatajaysk
authored andcommitted
wilc1000: changes for WILC sdio deviceID
Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
1 parent 66c88b4 commit 9e9ef43

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • drivers/net/wireless/microchip/wilc1000

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

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,13 @@ enum sdio_host_lock {
2525

2626
static enum sdio_host_lock sdio_intr_lock = WILC_SDIO_HOST_NO_TAKEN;
2727
static wait_queue_head_t sdio_intr_waitqueue;
28-
#define SDIO_MODALIAS "wilc1000_sdio"
28+
29+
#define SDIO_MODALIAS "wilc_sdio"
30+
31+
#if KERNEL_VERSION(5, 8, 0) >= LINUX_VERSION_CODE
32+
#define SDIO_VENDOR_ID_MICROCHIP_WILC 0x0296
33+
#define SDIO_DEVICE_ID_MICROCHIP_WILC1000 0x5347
34+
#endif
2935

3036
static const struct sdio_device_id wilc_sdio_ids[] = {
3137
{ SDIO_DEVICE(SDIO_VENDOR_ID_MICROCHIP_WILC, SDIO_DEVICE_ID_MICROCHIP_WILC1000) },

0 commit comments

Comments
 (0)