wifi: nxp: NXPWIFI should be invisible and selected by its users

All supported NXP WiFi wireless adapters have an SDIO interface.
Hence there is no point in asking the user about these adapters when
configuring a kernel without MMC support.

Fix this by making the core driver symbol invisible, and selecting it by
its user when needed.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://patch.msgid.link/aefb37d8398175cb2fb520cb5f725a85bcd3049d.1786010763.git.geert+renesas@glider.be
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
This commit is contained in:
Geert Uytterhoeven
2026-08-06 12:06:43 +02:00
committed by Johannes Berg
parent 0307efd32f
commit f0b48e031d

View File

@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-only
config NXPWIFI
tristate "NXP WiFi Driver"
tristate "NXP WiFi Driver" if COMPILE_TEST
depends on CFG80211
help
This adds support for wireless adapters based on NXP
@@ -11,7 +11,8 @@ config NXPWIFI
config NXPWIFI_SDIO
tristate "NXP WiFi Driver for IW61x"
depends on NXPWIFI && MMC
depends on CFG80211 && MMC
select NXPWIFI
select FW_LOADER
select WANT_DEV_COREDUMP
help