wilc1000: Convert module-global "isinit" to device-specific variable
authorDavid Mosberger-Tang <davidm@egauge.net>
Sat, 28 Aug 2021 15:19:11 +0000 (15:19 +0000)
committerKalle Valo <kvalo@codeaurora.org>
Sun, 29 Aug 2021 08:33:36 +0000 (11:33 +0300)
commit50cbbfd41e9f7716baa976ae2d60309a088a246e
treeb51252268232e962845a3321bb47a9eec799d8e1
parent4b51de063d5310f1fb297388b7955926e63e45c9
wilc1000: Convert module-global "isinit" to device-specific variable

Move static "isinit" variable to wilc_spi structure to allow multiple
WILC1000 devices per machine.

Signed-off-by: David Mosberger-Tang <davidm@egauge.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210828151346.3012697-1-davidm@egauge.net
drivers/net/wireless/microchip/wilc1000/spi.c