summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-06-01 16:51:44 +0800
committerMark Brown <broonie@kernel.org>2019-06-04 15:30:39 +0100
commitcbc0fa7b6e8c6180c18fd951d28197281a526330 (patch)
tree5e359c6f43606a19b1927a71bf615b539fea79c8 /tools
parentad169f9f0dbb531cd68db921b351ccafcf684ae4 (diff)
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: 6d817c0e9fd7 ("ASoC: codecs: Add da7219 codec driver") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions