]> git.itanic.dy.fi Git - linux-stable/commitdiff
mmc: pwrseq_sd8787: Allow being built-in irrespective of dependencies
authorLukas Wunner <lukas@wunner.de>
Mon, 16 Jan 2023 11:14:30 +0000 (12:14 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 23 Jan 2023 14:51:39 +0000 (15:51 +0100)
pwrseq_sd8787 is forced to be built as a module if its dependencies are.

That's unnecessary, it's perfectly fine for it to be built-in even
though the wireless drivers that need it are modules.

Relax the depends definition in Kconfig accordingly.

Signed-off-by: Lukas Wunner <lukas@wunner.de>
Cc: Matt Ranostay <matt@ranostay.consulting>
Cc: Lubomir Rintel <lkundrak@v3.sk>
Cc: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/8bb3d7c3a36985e030ba40e853c57578de8fb303.1673866725.git.lukas@wunner.de
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/Kconfig

index 6f25c34e4fecbf26d69b13c2c8c2ffbbc0013615..e9e9d31b39b43ea4953eaf24194460c3e69952f3 100644 (file)
@@ -15,7 +15,7 @@ config PWRSEQ_EMMC
 
 config PWRSEQ_SD8787
        tristate "HW reset support for SD8787 BT + Wifi module"
-       depends on OF && (MWIFIEX || BT_MRVL_SDIO || LIBERTAS_SDIO || WILC1000_SDIO)
+       depends on OF && (MWIFIEX != n || BT_MRVL_SDIO != n || LIBERTAS_SDIO != n || WILC1000_SDIO != n)
        help
          This selects hardware reset support for the SD8787 BT + Wifi
          module. By default this option is set to n.