iwlwifi: make MVM and DVM depend on MAC80211

It's not the iwlwifi module that depends on mac80211, but iwlmvm and
iwldvm.  To reflect this better, make MVM and DVM Kconfig options
depend on MAC80211 instead.

Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Luca Coelho 2018-08-27 13:02:19 +03:00 committed by Kalle Valo
parent 189b8d441b
commit aca432f06b
1 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,6 @@
config IWLWIFI config IWLWIFI
tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) " tristate "Intel Wireless WiFi Next Gen AGN - Wireless-N/Advanced-N/Ultimate-N (iwlwifi) "
depends on PCI && MAC80211 && HAS_IOMEM depends on PCI && HAS_IOMEM
select FW_LOADER select FW_LOADER
---help--- ---help---
Select to build the driver supporting the: Select to build the driver supporting the:
@ -53,6 +53,7 @@ config IWLWIFI_LEDS
config IWLDVM config IWLDVM
tristate "Intel Wireless WiFi DVM Firmware support" tristate "Intel Wireless WiFi DVM Firmware support"
depends on MAC80211
help help
This is the driver that supports the DVM firmware. The list This is the driver that supports the DVM firmware. The list
of the devices that use this firmware is available here: of the devices that use this firmware is available here:
@ -61,6 +62,7 @@ config IWLDVM
config IWLMVM config IWLMVM
tristate "Intel Wireless WiFi MVM Firmware support" tristate "Intel Wireless WiFi MVM Firmware support"
select WANT_DEV_COREDUMP select WANT_DEV_COREDUMP
depends on MAC80211
help help
This is the driver that supports the MVM firmware. The list This is the driver that supports the MVM firmware. The list
of the devices that use this firmware is available here: of the devices that use this firmware is available here: