]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
ASoC: PXA: Brownstone needs I2C
authorArnd Bergmann <arnd@arndb.de>
Tue, 18 Oct 2016 15:18:58 +0000 (17:18 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 24 Oct 2016 17:28:42 +0000 (18:28 +0100)
commit5229f1f4a4585f503a0683575bf38d9a1d2c1982
treed0932f97f97306d801deff73c75735963ca14d07
parent1001354ca34179f3db924eb66672442a173147dc
ASoC: PXA: Brownstone needs I2C

I rand into a new build error with SND_MMP_SOC_BROWNSTONE:

warning: (SND_MMP_SOC_BROWNSTONE && SND_SOC_SAMSUNG_SMDK_WM8994 && SND_SOC_SMDK_WM8994_PCM && SND_SOC_LITTLEMILL) selects MFD_WM8994 which has unmet direct dependencies (HAS_IOMEM && I2C)
drivers/mfd/wm8994-core.c:688:1: error: data definition has no type or storage class [-Werror]
drivers/mfd/wm8994-core.c:688:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]

I don't see why this never showed up before, as the dependency seems to
have been missing since the symbol was first introduced several years
ago. This adds a dependency like the other drivers have.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/pxa/Kconfig