Re: [PATCH] ASoC: es8316: add I2C dependency

2017-06-22 Thread Daniel Drake
On Wed, Jun 21, 2017 at 4:09 PM, Arnd Bergmann wrote: > Without CONFIG_I2C, we get a build failure: > > sound/soc/codecs/es8316.c:633:1: error: data definition has no type or > storage class [-Werror] > sound/soc/codecs/es8316.c:633:1: error: type defaults to 'int' in declaration > of 'module_i2

[PATCH] ASoC: es8316: add I2C dependency

2017-06-21 Thread Arnd Bergmann
Without CONFIG_I2C, we get a build failure: sound/soc/codecs/es8316.c:633:1: error: data definition has no type or storage class [-Werror] sound/soc/codecs/es8316.c:633:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int] sound/soc/codecs/es8316.c:633:1: