linux/sound/soc/mediatek
YueHaibing cbc0fa7b6e
ASoC: da7219: Fix build error without CONFIG_I2C
Fix gcc build error while CONFIG_I2C is not set

sound/soc/codecs/da7219.c:2640:1: warning: data definition has no type or storage class
 module_i2c_driver(da7219_i2c_driver);
 ^~~~~~~~~~~~~~~~~
sound/soc/codecs/da7219.c:2640:1: error: type defaults to int in declaration of module_i2c_driver [-Werror=implicit-int]
sound/soc/codecs/da7219.c:2640:1: warning: parameter names (without types) in function declaration
sound/soc/codecs/da7219.c:2629:26: warning: da7219_i2c_driver defined but not used [-Wunused-variable]

Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: 6d817c0e9f ("ASoC: codecs: Add da7219 codec driver")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-06-04 15:30:39 +01:00
..
common Merge branch 'asoc-5.1' into asoc-5.2 2019-04-26 11:02:03 +01:00
mt2701 ASoC: mediatek: Fix UBSAN warning. 2019-03-19 12:51:13 +00:00
mt6797 ASoC: mediatek: Fix UBSAN warning. 2019-03-19 12:51:13 +00:00
mt8173 ASoC: mediatek: Fix UBSAN warning. 2019-03-19 12:51:13 +00:00
mt8183 ASoC: Mediatek: MT8183: add I2S2 control path from UL2 and UL3 2019-05-02 10:46:18 +09:00
Kconfig ASoC: da7219: Fix build error without CONFIG_I2C 2019-06-04 15:30:39 +01:00
Makefile ASoC: mediatek: mt8183: add platform driver 2019-01-25 18:05:10 +00:00