diff options
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2014-10-17 14:56:42 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-10-20 07:22:21 -0400 |
commit | ac884fc47b7750b1e7eaf04f0236610c84ceee54 (patch) | |
tree | a3628d2c22e869ec01ed6d76457a2c462ca82214 | |
parent | 45b6e1d300b034678c42369aad3b27d37854d1fb (diff) |
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>
-rw-r--r-- | sound/soc/codecs/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index a68d1731a8fd..2c7482ec25e8 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig | |||
@@ -85,7 +85,7 @@ config SND_SOC_ALL_CODECS | |||
85 | select SND_SOC_RT5645 if I2C | 85 | select SND_SOC_RT5645 if I2C |
86 | select SND_SOC_RT5651 if I2C | 86 | select SND_SOC_RT5651 if I2C |
87 | select SND_SOC_RT5670 if I2C | 87 | select SND_SOC_RT5670 if I2C |
88 | select SND_SOC_RT5677 if I2C | 88 | select SND_SOC_RT5677 if I2C && SPI_MASTER |
89 | select SND_SOC_SGTL5000 if I2C | 89 | select SND_SOC_SGTL5000 if I2C |
90 | select SND_SOC_SI476X if MFD_SI476X_CORE | 90 | select SND_SOC_SI476X if MFD_SI476X_CORE |
91 | select SND_SOC_SIRF_AUDIO_CODEC | 91 | select SND_SOC_SIRF_AUDIO_CODEC |