Skip to contentSkip to conversation

staging: wilc1000: Add terminating entry for wilc_sdio_ids

PATCH New Axel Lin 1 participant 1 message Sep 12, 2015 Staging

lore
Share & tools
lore

Axel Lin

author
#0 lore raw

PATCH 1/1 staging: wilc1000: Add terminating entry for wilc_sdio_ids

The sdio_device_id table is supposed to be zero-terminated.

---
 drivers/staging/wilc1000/linux_wlan_sdio.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/wilc1000/linux_wlan_sdio.c +1 -0
index 37f31f4..5f0e6cd 100644
@@ -40,6 +40,7 @@ static unsigned int sdio_default_speed;
 
 static const struct sdio_device_id wilc_sdio_ids[] = {
 	{ SDIO_DEVICE(SDIO_VENDOR_ID_WILC, SDIO_DEVICE_ID_WILC) },
+	{ },
 };
 
 
Signature · 1 line
2.1.0