summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPeter Robinson <pbrobinson@gmail.com>2016-08-23 18:17:46 +0100
committerMark Brown <broonie@kernel.org>2016-08-24 10:41:15 +0100
commit702650bda073cb9df90e3a091ee515f340133b05 (patch)
tree0b7e329eace280dac35e244b72ac8bea8118fedc /sound
parent2f6963cb52bee440105f732b3411f18e38ed6e52 (diff)
downloadlinux-702650bda073cb9df90e3a091ee515f340133b05.tar.gz
linux-702650bda073cb9df90e3a091ee515f340133b05.tar.bz2
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"