From patchwork Fri Sep 14 09:31:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/7] powerpc/52xx: define FSL_SOC Date: Thu, 13 Sep 2012 23:31:00 -0000 From: Anatolij Gustschin X-Patchwork-Id: 183856 Message-Id: <20120914113100.119048xeot7zcym8@webmail.mnet-online.de> To: Eric Millbrandt Cc: alsa-devel@alsa-project.org, Mark Brown , linuxppc-dev@lists.ozlabs.org, Liam Girdwood Eric Millbrandt wrote: > mpc52xx socs need to have FSL_SOC defined to build their drivers > (i2c-mpc, ASoC) No, i2c-mpc depends on PPC only. And FSL_SOC enables code we do not use on mpc52xx. For ASoC please see comment below. > Signed-off-by: Eric Millbrandt > > diff --git a/arch/powerpc/platforms/52xx/Kconfig > b/arch/powerpc/platforms/52xx/Kconfig > index 90f4496..fb35944 100644 > --- a/arch/powerpc/platforms/52xx/Kconfig > +++ b/arch/powerpc/platforms/52xx/Kconfig > @@ -1,6 +1,7 @@ > config PPC_MPC52xx > bool "52xx-based boards" > depends on 6xx > + select FSL_SOC Better use: Thanks, Anatolij diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig index d701330..4563b28 100644 --- a/sound/soc/fsl/Kconfig +++ b/sound/soc/fsl/Kconfig @@ -6,7 +6,7 @@ config SND_SOC_FSL_UTILS menuconfig SND_POWERPC_SOC tristate "SoC Audio for Freescale PowerPC CPUs" - depends on FSL_SOC + depends on FSL_SOC || PPC_MPC52xx help Say Y or M if you want to add support for codecs attached to the PowerPC CPUs.