Re: [PATCH 14/18] ASoC: Register platform drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux