• Arnd Bergmann's avatar
    ASoC: max98988: add I2C dependency · 9641faa2
    Arnd Bergmann authored
    max98988 only builds with I2C support enabled, otherwise we get a build error:
    
    sound/soc/codecs/max98088.c:1789:1: error: data definition has no type or storage class [-Werror]
     module_i2c_driver(max98088_i2c_driver);
     ^~~~~~~~~~~~~~~~~
    sound/soc/codecs/max98088.c:1789:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
    sound/soc/codecs/max98088.c:1789:1: error: parameter names (without types) in function declaration [-Werror]
    sound/soc/codecs/max98088.c:1780:26: error: 'max98088_i2c_driver' defined but not used [-Werror=unused-variable]
    
    Fixes: 24ae67c5 ("ASoC: max98988: make it selectable")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Reviewed-by: default avatarMarco Felsch <m.felsch@pengutronix.de>
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    9641faa2
Kconfig 29.2 KB