diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-06-01 16:51:44 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-06-04 15:30:39 +0100 |
commit | cbc0fa7b6e8c6180c18fd951d28197281a526330 (patch) | |
tree | 5e359c6f43606a19b1927a71bf615b539fea79c8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ad169f9f0dbb531cd68db921b351ccafcf684ae4 (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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions