diff options
author | Jarkko Nikula <jarkko.nikula@linux.intel.com> | 2014-12-18 16:40:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2014-12-22 12:35:37 +0000 |
commit | da042e3a6261a444868b99bece98e4e5b77a0fce (patch) | |
tree | fa6275dbfa783da9d2a704c679574876ea461c06 /Makefile | |
parent | 97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff) | |
download | op-kernel-dev-da042e3a6261a444868b99bece98e4e5b77a0fce.zip op-kernel-dev-da042e3a6261a444868b99bece98e4e5b77a0fce.tar.gz |
ASoC: Intel: Add I2C dependency to two new machines
Fix following build error when CONFIG_I2C is not enabled:
sound/soc/codecs/rt5640.c:2252:1: warning: data definition has no type or storage class
module_i2c_driver(rt5640_i2c_driver);
^
sound/soc/codecs/rt5640.c:2252:1: error: type defaults to ‘int’ in declaration of ‘module_i2c_driver’ [-Werror=implicit-int]
sound/soc/codecs/rt5640.c:2252:1: warning: parameter names (without types) in function declaration
sound/soc/codecs/rt5640.c:2241:26: warning: ‘rt5640_i2c_driver’ defined but not used [-Wunused-variable]
static struct i2c_driver rt5640_i2c_driver = {
^
cc1: some warnings being treated as errors
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions