• Arnd Bergmann's avatar
    ASoC: es8316: add I2C dependency · 664d00d1
    Arnd Bergmann authored
    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: error: parameter names (without types) in function declaration [-Werror]
    sound/soc/codecs/es8316.c:623:26: error: 'es8316_i2c_driver' defined but not used [-Werror=unused-variable]
    
    This adds the required Kconfig dependency.
    
    Fixes: b8b88b70 ("ASoC: add es8316 codec driver")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    664d00d1
Kconfig 24.4 KB