From: Takashi Iwai Subject: Re: [PATCH 2.6.29] ASoC: Allow Freescale MPC8610 audio drivers to be compiled as modules Date: Tue, 20 Jan 2009 07:37:29 +0100 Message-ID: References: <1232387866-14365-1-git-send-email-timur@freescale.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id E30481037E3 for ; Tue, 20 Jan 2009 07:37:29 +0100 (CET) In-Reply-To: <1232387866-14365-1-git-send-email-timur@freescale.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Timur Tabi Cc: alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com List-Id: alsa-devel@alsa-project.org At Mon, 19 Jan 2009 11:57:46 -0600, Timur Tabi wrote: > > Change the Kconfig and Makefile options for Freescale MPC8610 audio drivers > so that they can be compiled as modules, and simplify the Kconfig choices > so that only the platform is selected. > > Also fix the naming of the driver files to conform to ALSA standards. > > Signed-off-by: Timur Tabi > --- > sound/soc/fsl/Kconfig | 16 ++++++++-------- > sound/soc/fsl/Makefile | 7 +++++-- > 2 files changed, 13 insertions(+), 10 deletions(-) > > diff --git a/sound/soc/fsl/Kconfig b/sound/soc/fsl/Kconfig > index 95c12b2..bd6974e 100644 > --- a/sound/soc/fsl/Kconfig > +++ b/sound/soc/fsl/Kconfig > @@ -1,17 +1,17 @@ > config SND_SOC_OF_SIMPLE > tristate > > +# ASoC platform support for the Freescale MPC8610 SOC. This compiles drivers > +# for the SSI and the Elo DMA controller. You will still need to select > +# a platform driver and a codec driver. > config SND_SOC_MPC8610 > - bool "ALSA SoC support for the MPC8610 SOC" > - depends on MPC8610_HPCD > - default y if MPC8610 > - help > - Say Y if you want to add support for codecs attached to the SSI > - device on an MPC8610. > + tristate > + depends on MPC8610 > > config SND_SOC_MPC8610_HPCD > - bool "ALSA SoC support for the Freescale MPC8610 HPCD board" > - depends on SND_SOC_MPC8610 > + tristate "ALSA SoC support for the Freescale MPC8610 HPCD board" > + depends on SND_SOC && MPC8610_HPCD The dependency on SND_SOC isn't needed here because this item is already inside "if SND_SOC". Takashi