From mboxrd@z Thu Jan 1 00:00:00 1970 From: arnd@arndb.de (Arnd Bergmann) Date: Tue, 19 May 2015 15:50:07 +0200 Subject: [PATCH] ARM: shmobile: only select sound drivers that build In-Reply-To: References: <5616798.tmraH8vpuI@wuerfel> Message-ID: <8763723.lDqvJa39j2@wuerfel> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tuesday 19 May 2015 15:34:00 Geert Uytterhoeven wrote: > On Tue, May 19, 2015 at 2:49 PM, Arnd Bergmann wrote: > > A couple of codec drivers are selected by shmobile platform code, > > but depend on I2C, which results in a build error: > > > --- a/arch/arm/mach-shmobile/Kconfig > > +++ b/arch/arm/mach-shmobile/Kconfig > > > @@ -158,8 +158,8 @@ config MACH_BOCKW > > depends on ARCH_R8A7778 > > select ARCH_REQUIRE_GPIOLIB > > select REGULATOR_FIXED_VOLTAGE if REGULATOR > > - select SND_SOC_AK4554 if SND_SIMPLE_CARD > > - select SND_SOC_AK4642 if SND_SIMPLE_CARD > > + select SND_SOC_AK4554 if SND_SIMPLE_CARD && I2C > > AK4554 is not an i2c device, but a plain platform device. > > > + select SND_SOC_AK4642 if SND_SIMPLE_CARD && I2C > > select USE_OF > > The others are OK, so if you have remove AK4554, you can add my > Acked-by: Geert Uytterhoeven > > Ah, my mistake. I've sent a fixed version 2 now. Thanks! Arnd