2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-26 06:04:14 +08:00
linux-next/sound/soc/mediatek
Arnd Bergmann 72cedf599f ASoC: mediatek: add I2C dependency for CS42XX8
We should not select drivers that depend on I2C when that is disabled,
as it results in a build error:

warning: (SND_SOC_MT2701_CS42448) selects SND_SOC_CS42XX8_I2C which has unmet direct dependencies (SOUND && !M68K && !UML && SND && SND_SOC && I2C)
sound/soc/codecs/cs42xx8-i2c.c:60:1: warning: data definition has no type or storage class
 module_i2c_driver(cs42xx8_i2c_driver);
sound/soc/codecs/cs42xx8-i2c.c:60:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]

Fixes: 1f458d53f7 ("ASoC: mediatek: Add mt2701-cs42448 driver and config option.")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-02-21 15:02:34 -08:00
..
common ASoC: mediatek: mark symbols static where possible 2016-08-11 15:02:28 +01:00
mt2701 ASoC: mediatek: add power-domain get/put ctrl for mt2701 2017-02-16 18:27:17 +00:00
mt8173 ASoC: mt8173-max98090: remove the call to snd_soc_jack_add_pins. 2017-01-31 20:19:05 +00:00
Kconfig ASoC: mediatek: add I2C dependency for CS42XX8 2017-02-21 15:02:34 -08:00
Makefile ASoC: mediatek: Add mt2701-cs42448 driver and config option. 2016-07-04 16:49:03 +02:00