summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2016-08-23 19:17:46 +0200
committerMark Brown <broonie@kernel.org>2016-08-24 11:41:15 +0200
commit702650bda073cb9df90e3a091ee515f340133b05 (patch)
tree0b7e329eace280dac35e244b72ac8bea8118fedc /sound
parentASoC: sunxi: compatibility for sun6i to SPDIF (diff)
downloadlinux-702650bda073cb9df90e3a091ee515f340133b05.tar.xz
linux-702650bda073cb9df90e3a091ee515f340133b05.zip
ASoC: sunxi: depend on ARCH_SUNXI
Depend on ARCH_SUNXI or COMPILE_TEST as it doesn't make sense to enable these if the appropriate SoC they're embedded in isn't enabled. Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/sunxi/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/sunxi/Kconfig b/sound/soc/sunxi/Kconfig
index 2a954bd01fd8..dd2368297fd3 100644
--- a/sound/soc/sunxi/Kconfig
+++ b/sound/soc/sunxi/Kconfig
@@ -1,4 +1,5 @@
menu "Allwinner SoC Audio support"
+ depends on ARCH_SUNXI || COMPILE_TEST
config SND_SUN4I_CODEC
tristate "Allwinner A10 Codec Support"