diff options
author | Arnd Bergmann <arnd@arndb.de> | 2016-02-25 15:57:43 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2016-02-26 05:47:32 -0500 |
commit | 10da848f67a7e7152bf7cbe332e4c92d71a990d2 (patch) | |
tree | 290db76910d0f620332afe82678204eaef61c38c | |
parent | 1a4f6557dd7c7f0eba18aadbc72e3cf09dae496d (diff) |
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>
-rw-r--r-- | drivers/ssb/Kconfig | 1 |
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 | |||
83 | config SSB_HOST_SOC | 83 | config SSB_HOST_SOC |
84 | bool "Support for SSB bus on SoC" | 84 | bool "Support for SSB bus on SoC" |
85 | depends on SSB && BCM47XX_NVRAM | 85 | depends on SSB && BCM47XX_NVRAM |
86 | select SSB_SPROM | ||
86 | help | 87 | help |
87 | Host interface for a SSB directly mapped into memory. This is | 88 | Host interface for a SSB directly mapped into memory. This is |
88 | for some Broadcom SoCs from the BCM47xx and BCM53xx lines. | 89 | for some Broadcom SoCs from the BCM47xx and BCM53xx lines. |