]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9e6b3e977db06d2fae0fc9be3aa56cd8f3d8cbb3
tree290db76910d0f620332afe82678204eaef61c38c
parent52ab5a1ff277aad667054059baad26d72433d514
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: b8cef2064101 ("ssb: pick SoC invariants code from MIPS BCM47xx arch")
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/ssb/Kconfig