summaryrefslogtreecommitdiffstats
path: root/drivers/ssb
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-02-25 21:57:43 +0100
committerKalle Valo <kvalo@codeaurora.org>2016-02-26 12:47:32 +0200
commit10da848f67a7e7152bf7cbe332e4c92d71a990d2 (patch)
tree290db76910d0f620332afe82678204eaef61c38c /drivers/ssb
parent1a4f6557dd7c7f0eba18aadbc72e3cf09dae496d (diff)
downloadlinux-stable-10da848f67a7e7152bf7cbe332e4c92d71a990d2.tar.gz
linux-stable-10da848f67a7e7152bf7cbe332e4c92d71a990d2.tar.bz2
linux-stable-10da848f67a7e7152bf7cbe332e4c92d71a990d2.zip
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: Arnd Bergmann <arnd@arndb.de> Fixes: 541c9a84cd85 ("ssb: pick SoC invariants code from MIPS BCM47xx arch") Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/ssb')
-rw-r--r--drivers/ssb/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig
index 0c675861623f..d8e4219c2324 100644
--- a/drivers/ssb/Kconfig
+++ b/drivers/ssb/Kconfig
@@ -83,6 +83,7 @@ config SSB_SDIOHOST
config SSB_HOST_SOC
bool "Support for SSB bus on SoC"
depends on SSB && BCM47XX_NVRAM
+ select SSB_SPROM
help
Host interface for a SSB directly mapped into memory. This is
for some Broadcom SoCs from the BCM47xx and BCM53xx lines.