]> 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)
commitfe3324c8b2e49259450589a73ba6e476e51cf005
tree290db76910d0f620332afe82678204eaef61c38c
parentaed6025754b5b375e99d4485b3b9645ae5565381
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: 723a24319d1f ("ssb: pick SoC invariants code from MIPS BCM47xx arch")
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/ssb/Kconfig