From: Takashi Iwai Subject: Re: [PATCH 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers Date: Wed, 02 Jul 2008 11:50:43 +0200 Message-ID: References: <20080701235330.16923.67218.stgit@trillian.secretlab.ca> 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 mx1.suse.de (ns.suse.de [195.135.220.2]) by alsa0.perex.cz (Postfix) with ESMTP id 719C3245BE for ; Wed, 2 Jul 2008 11:50:44 +0200 (CEST) In-Reply-To: <20080701235330.16923.67218.stgit@trillian.secretlab.ca> 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: Grant Likely Cc: liam.girdwood@wolfsonmicro.com, alsa-devel@alsa-project.org, broonie@opensource.wolfsonmicro.com, timur@freescale.com, linuxppc-dev@ozlabs.org List-Id: alsa-devel@alsa-project.org At Tue, 01 Jul 2008 17:53:30 -0600, Grant Likely wrote: > diff --git a/sound/soc/Kconfig b/sound/soc/Kconfig > index 18f28ac..c5736e5 100644 > --- a/sound/soc/Kconfig > +++ b/sound/soc/Kconfig > @@ -23,6 +23,12 @@ config SND_SOC > This ASoC audio support can also be built as a module. If so, the module > will be called snd-soc-core. > > +config SND_SOC_OF > + tristate "OF helpers for SoC audio support" > + depends on SND_SOC > + ---help--- > + Add support for OpenFirmware device tree descriptions of sound device > + This is a helper module and not necessarily manually selectable. Better to make the other driver selecting this. > diff --git a/sound/soc/soc-of.c b/sound/soc/soc-of.c > new file mode 100644 > index 0000000..9694979 > --- /dev/null > +++ b/sound/soc/soc-of.c (snip) > +DEFINE_MUTEX(of_snd_soc_mutex); > +LIST_HEAD(of_snd_soc_device_list); Missing static. Takashi