Commit 10da848f authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Kalle Valo

ssb: host_soc depends on sprom

Drivers that use the SSB sprom functionality typically 'select SSB_SPROM'
from Kconfig, but CONFIG_SSB_HOST_SOC misses this, which results in
a build failure unless at least one of the other drivers that selects
it is enabled:

drivers/built-in.o: In function `ssb_host_soc_get_invariants':
(.text+0x459494): undefined reference to `ssb_fill_sprom_with_fallback'

This adds the same select statement that is used elsewhere.
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Fixes: 541c9a84 ("ssb: pick SoC invariants code from MIPS BCM47xx arch")
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent 1a4f6557
...@@ -83,6 +83,7 @@ config SSB_SDIOHOST ...@@ -83,6 +83,7 @@ config SSB_SDIOHOST
config SSB_HOST_SOC config SSB_HOST_SOC
bool "Support for SSB bus on SoC" bool "Support for SSB bus on SoC"
depends on SSB && BCM47XX_NVRAM depends on SSB && BCM47XX_NVRAM
select SSB_SPROM
help help
Host interface for a SSB directly mapped into memory. This is Host interface for a SSB directly mapped into memory. This is
for some Broadcom SoCs from the BCM47xx and BCM53xx lines. for some Broadcom SoCs from the BCM47xx and BCM53xx lines.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment