[alsa-devel] [PATCH 1/3] ALSA SoC: Add OpenFirmware helper for matching bus and codec drivers

Takashi Iwai tiwai at suse.de
Wed Jul 2 19:50:43 EST 2008


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



More information about the Linuxppc-dev mailing list