]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: rt5677: add build dependency to spi
authorAnatol Pomozov <anatol.pomozov@gmail.com>
Fri, 17 Oct 2014 18:56:42 +0000 (11:56 -0700)
committerMark Brown <broonie@kernel.org>
Mon, 20 Oct 2014 11:22:21 +0000 (12:22 +0100)
commitac884fc47b7750b1e7eaf04f0236610c84ceee54
treea3628d2c22e869ec01ed6d76457a2c462ca82214
parent45b6e1d300b034678c42369aad3b27d37854d1fb
ASoC: rt5677: add build dependency to spi

Since 9cb715a9d4c the codec has a hardcoded dependency to spi.
Add this dependency to Kconfig. It fixes buildbot compilation failure:

   sound/built-in.o: In function `spi_write':
>> rt5677-spi.c:(.text+0x8265f): undefined reference to `spi_sync'
   sound/built-in.o: In function `rt5677_spi_driver_init':
>> rt5677-spi.c:(.init.text+0x17db): undefined reference to `spi_register_driver'

Signed-off-by: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig