OSDN Git Service

ASoC: sunxi: depend on ARCH_SUNXI
authorPeter Robinson <pbrobinson@gmail.com>
Tue, 23 Aug 2016 17:17:46 +0000 (18:17 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 24 Aug 2016 09:41:15 +0000 (10:41 +0100)
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>
sound/soc/sunxi/Kconfig

index 2a954bd..dd23682 100644 (file)
@@ -1,4 +1,5 @@
 menu "Allwinner SoC Audio support"
+       depends on ARCH_SUNXI || COMPILE_TEST
 
 config SND_SUN4I_CODEC
        tristate "Allwinner A10 Codec Support"