diff --git a/drivers/staging/wilc1000/Kconfig b/drivers/staging/wilc1000/Kconfig index 0b349d3c1475..c246b0d904df 100644 --- a/drivers/staging/wilc1000/Kconfig +++ b/drivers/staging/wilc1000/Kconfig @@ -1,56 +1,58 @@ config WILC1000 tristate "WILC1000 support (WiFi only)" depends on !S390 + depends on CFG80211 && WEXT_CORE && INET + depends on MMC || SPI ---help--- - This module only support IEEE 802.11n WiFi. + This module only support IEEE 802.11n WiFi. choice prompt "Memory Allocation" depends on WILC1000 default WILC1000_PREALLOCATE_AT_LOADING_DRIVER - config WILC1000_PREALLOCATE_AT_LOADING_DRIVER - bool "Preallocate memory at loading driver" - ---help--- - This choice supports static allocation of the memory - for the receive buffer. The driver will allocate the RX buffer - during initial time. The driver will also free the buffer - by calling network device stop. +config WILC1000_PREALLOCATE_AT_LOADING_DRIVER + bool "Preallocate memory at loading driver" + ---help--- + This choice supports static allocation of the memory + for the receive buffer. The driver will allocate the RX buffer + during initial time. The driver will also free the buffer + by calling network device stop. - config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY - bool "Dynamically allocate memory in real time" - ---help--- - This choice supports dynamic allocation of the memory - for the receive buffer. The driver will allocate the RX buffer - when it is required. +config WILC1000_DYNAMICALLY_ALLOCATE_MEMROY + bool "Dynamically allocate memory in real time" + ---help--- + This choice supports dynamic allocation of the memory + for the receive buffer. The driver will allocate the RX buffer + when it is required. endchoice - choice - prompt "Bus Type" - depends on WILC1000 - default WILC1000_SDIO - + prompt "Bus Type" + depends on WILC1000 + default WILC1000_SDIO + config WILC1000_SDIO - bool "SDIO support" - depends on MMC - ---help--- - This module adds support for the SDIO interface of adapters using - WILC chipset. Select this if your platform is using the SDIO bus. + bool "SDIO support" + depends on MMC + ---help--- + This module adds support for the SDIO interface + of adapters using WILC chipset. Select this if + your platform is using the SDIO bus. config WILC1000_SPI - bool "SPI support" - ---help--- - This module adds support for the SPI interface of adapters using - WILC chipset. Select this if your platform is using the SPI bus. + depends on SPI + bool "SPI support" + ---help--- + This module adds support for the SPI interface + of adapters using WILC chipset. Select this if + your platform is using the SPI bus. endchoice - config WILC1000_HW_OOB_INTR - bool "Use out of band interrupt" - depends on WILC1000 && WILC1000_SDIO - default n - ---help--- - If your platform don't recognize SDIO IRQ, connect chipset external IRQ pin - and check this option. Or, Use this to get all interrupts including SDIO interrupts. - + bool "Use out of band interrupt" + depends on WILC1000 && WILC1000_SDIO + default n + ---help--- + If your platform don't recognize SDIO IRQ, connect chipset external IRQ pin + and check this option. Or, Use this to get all interrupts including SDIO interrupts.