mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-18 18:23:53 +08:00
da042e3a62
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> |
||
---|---|---|
.. | ||
sst | ||
broadwell.c | ||
byt-max98090.c | ||
byt-rt5640.c | ||
bytcr_dpcm_rt5640.c | ||
cht_bsw_rt5672.c | ||
haswell.c | ||
Kconfig | ||
Makefile | ||
mfld_machine.c | ||
sst-acpi.c | ||
sst-atom-controls.c | ||
sst-atom-controls.h | ||
sst-baytrail-dsp.c | ||
sst-baytrail-ipc.c | ||
sst-baytrail-ipc.h | ||
sst-baytrail-pcm.c | ||
sst-dsp-priv.h | ||
sst-dsp.c | ||
sst-dsp.h | ||
sst-firmware.c | ||
sst-haswell-dsp.c | ||
sst-haswell-ipc.c | ||
sst-haswell-ipc.h | ||
sst-haswell-pcm.c | ||
sst-mfld-dsp.h | ||
sst-mfld-platform-compress.c | ||
sst-mfld-platform-pcm.c | ||
sst-mfld-platform.h |