All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] wifi: wilc1000: sdio: fix module autoloading
@ 2022-10-27 17:12 Michael Walle
  2022-11-01 11:07 ` Kalle Valo
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Walle @ 2022-10-27 17:12 UTC (permalink / raw)
  To: Ajay Singh, Claudiu Beznea, Kalle Valo, David S . Miller,
	Eric Dumazet, Jakub Kicinski, Paolo Abeni
  Cc: linux-wireless, netdev, linux-kernel, Michael Walle, stable

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>
---
 drivers/net/wireless/microchip/wilc1000/sdio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/microchip/wilc1000/sdio.c b/drivers/net/wireless/microchip/wilc1000/sdio.c
index 7390f94cd4ca..a05bda7b9a3b 100644
--- a/drivers/net/wireless/microchip/wilc1000/sdio.c
+++ b/drivers/net/wireless/microchip/wilc1000/sdio.c
@@ -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
 
-- 
2.30.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] wifi: wilc1000: sdio: fix module autoloading
  2022-10-27 17:12 [PATCH] wifi: wilc1000: sdio: fix module autoloading Michael Walle
@ 2022-11-01 11:07 ` Kalle Valo
  0 siblings, 0 replies; 2+ messages in thread
From: Kalle Valo @ 2022-11-01 11:07 UTC (permalink / raw)
  To: Michael Walle
  Cc: Ajay Singh, Claudiu Beznea, David S . Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, linux-wireless, netdev,
	linux-kernel, Michael Walle, stable

Michael Walle <michael@walle.cc> wrote:

> 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>

Patch applied to wireless-next.git, thanks.

57d545b5a3d6 wifi: wilc1000: sdio: fix module autoloading

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/20221027171221.491937-1-michael@walle.cc/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-01 11:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-27 17:12 [PATCH] wifi: wilc1000: sdio: fix module autoloading Michael Walle
2022-11-01 11:07 ` Kalle Valo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.