diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2023-10-13 00:08:55 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-10-19 09:26:26 +0200 |
commit | a86a8ca798e9c3037c04011c993a92c173fba0c2 (patch) | |
tree | 8d7ded5fd0505f76f815fd9e00c9c50dc33935d5 /drivers/ssb | |
parent | Merge tag 'mlx5-updates-2023-10-10' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
download | linux-a86a8ca798e9c3037c04011c993a92c173fba0c2.tar.xz linux-a86a8ca798e9c3037c04011c993a92c173fba0c2.zip |
ssb: relax SSB_EMBEDDED dependencies
This is a kconfig warning in a randconfig when CONFIG_PCI is not set:
WARNING: unmet direct dependencies detected for SSB_EMBEDDED
Depends on [n]: SSB [=y] && SSB_DRIVER_MIPS [=y] && SSB_PCICORE_HOSTMODE [=n]
Selected by [y]:
- BCM47XX_SSB [=y] && BCM47XX [=y]
This is caused by arch/mips/bcm47xx/Kconfig's symbol BCM47XX_SSB
selecting SSB_EMBEDDED when CONFIG_PCI is not set.
This warning can be prevented by altering SSB_EMBEDDED to allow for
PCI=n or the former SSB_PCICORE_HOSTMODE.
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Michael Büsch <m@bues.ch>
Cc: linux-wireless@vger.kernel.org
Cc: Kalle Valo <kvalo@kernel.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20231012220856.23260-1-rdunlap@infradead.org
Diffstat (limited to 'drivers/ssb')
-rw-r--r-- | drivers/ssb/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig index 34fa19d4b3f1..1cf1a98952fa 100644 --- a/drivers/ssb/Kconfig +++ b/drivers/ssb/Kconfig @@ -134,7 +134,8 @@ config SSB_SFLASH # Assumption: We are on embedded, if we compile the MIPS core. config SSB_EMBEDDED bool - depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE + depends on SSB_DRIVER_MIPS + depends on PCI=n || SSB_PCICORE_HOSTMODE default y config SSB_DRIVER_EXTIF |