ASoC: rt286: Add depends on I2C
authorBard Liao <bardliao@realtek.com>
Fri, 3 Oct 2014 01:55:07 +0000 (09:55 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 3 Oct 2014 09:35:23 +0000 (10:35 +0100)
rt286 use I2C as its I/O. So the driver can only available when
I2C is selected.

Signed-off-by: Bard Liao <bardliao@realtek.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/Kconfig

index 8838838..00ae24b 100644 (file)
@@ -464,6 +464,7 @@ config SND_SOC_RL6231
 
 config SND_SOC_RT286
        tristate
+       depends on I2C
 
 config SND_SOC_RT5631
        tristate