summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/Kconfig
diff options
context:
space:
mode:
authorBen Zhang <benzh@chromium.org>2014-10-21 05:30:13 +0200
committerMark Brown <broonie@kernel.org>2014-10-23 12:06:06 +0200
commite29bee098ea1cc9b8537628f3c1cdf60ead83514 (patch)
tree6c023092cf08552db50681167c471fb9d542d8e1 /sound/soc/codecs/Kconfig
parentASoC: rt5677: rt5677_irq_init() can be static (diff)
downloadlinux-e29bee098ea1cc9b8537628f3c1cdf60ead83514.tar.xz
linux-e29bee098ea1cc9b8537628f3c1cdf60ead83514.zip
ASoC: rt5677: fix rt5677 spi driver build
Create a separate module for rt5677 spi driver. Without this patch, the build fails due to multiple defs of 'init_module' and 'cleanup_module'. module_spi_driver() defines its own module, so it can't be part of the rt5677 module. Signed-off-by: Ben Zhang <benzh@chromium.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r--sound/soc/codecs/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig
index 2c7482ec25e8..6f21a766723c 100644
--- a/sound/soc/codecs/Kconfig
+++ b/sound/soc/codecs/Kconfig
@@ -504,6 +504,10 @@ config SND_SOC_RT5670
config SND_SOC_RT5677
tristate
+config SND_SOC_RT5677_SPI
+ tristate
+ default SND_SOC_RT5677
+
#Freescale sgtl5000 codec
config SND_SOC_SGTL5000
tristate "Freescale SGTL5000 CODEC"