[alsa-devel] [PATCH 14/18] ASoC: Register platform drivers

Takashi Iwai tiwai at suse.de
Tue Dec 9 15:38:13 CET 2008


At Tue,  9 Dec 2008 14:01:38 +0000,
Mark Brown wrote:
> diff --git a/sound/soc/atmel/atmel-pcm.c b/sound/soc/atmel/atmel-pcm.c
> index 8507aa1..d6bcb4e 100644
> --- a/sound/soc/atmel/atmel-pcm.c
> +++ b/sound/soc/atmel/atmel-pcm.c
> @@ -477,6 +477,18 @@ struct snd_soc_platform atmel_soc_platform = {
>  };
>  EXPORT_SYMBOL_GPL(atmel_soc_platform);
>  
> +static int __devinit atmel_pcm_modinit(void)
> +{
> +	return snd_soc_register_platform(&atmel_soc_platform);
> +}
> +module_init(atmel_pcm_modinit);
> +
> +static void __exit atmel_pcm_exit(void)

Typo either here...

> +{
> +	snd_soc_unregister_platform(&atmel_soc_platform);
> +}
> +module_exit(atmel_pcm_modexit);

... or here.


Takashi


More information about the Alsa-devel mailing list