ssb: host_soc depends on sprom
authorArnd Bergmann <arnd@arndb.de>
Thu, 25 Feb 2016 20:57:43 +0000 (21:57 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 26 Feb 2016 10:47:32 +0000 (12:47 +0200)
commit10da848f67a7e7152bf7cbe332e4c92d71a990d2
tree290db76910d0f620332afe82678204eaef61c38c
parent1a4f6557dd7c7f0eba18aadbc72e3cf09dae496d
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>
drivers/ssb/Kconfig