diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2016-11-17 01:12:30 +0000 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-18 12:05:47 +0000 |
commit | 4a5cf1320a9501261919cf96af300b1df3ad0210 (patch) | |
tree | d36ade32972afa189e8f463387f5d20344e4931b /sound/soc/codecs/Kconfig | |
parent | 1001354ca34179f3db924eb66672442a173147dc (diff) | |
download | linux-4a5cf1320a9501261919cf96af300b1df3ad0210.tar.bz2 |
ASoC: uda1380: Remove #if IS_ENABLED(CONFIG_I2C)
uda1380 driver doesn't work without CONFIG_I2C anyway.
Let's remove #if IS_ENABLED(CONFIG_I2C), and use module_i2c_driver().
And, this patch adds "depends on I2C" to Kconfig
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/Kconfig')
-rw-r--r-- | sound/soc/codecs/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/Kconfig b/sound/soc/codecs/Kconfig index c67667bb970f..98b9a0c35d6b 100644 --- a/sound/soc/codecs/Kconfig +++ b/sound/soc/codecs/Kconfig @@ -874,6 +874,7 @@ config SND_SOC_UDA134X config SND_SOC_UDA1380 tristate + depends on I2C config SND_SOC_WL1273 tristate |