Re: [PATCH] ASoC: Move soc-core module init next to functon definition

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

 



On Wed, 2010-10-13 at 10:57 +0100, Mark Brown wrote:
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
>  sound/soc/soc-core.c |    3 +--
>  1 files changed, 1 insertions(+), 2 deletions(-)
> 
> diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
> index f4286ab..4cbfe46 100644
> --- a/sound/soc/soc-core.c
> +++ b/sound/soc/soc-core.c
> @@ -3311,6 +3311,7 @@ static int __init snd_soc_init(void)
>  
>  	return platform_driver_register(&soc_driver);
>  }
> +module_init(snd_soc_init);
>  
>  static void __exit snd_soc_exit(void)
>  {
> @@ -3319,8 +3320,6 @@ static void __exit snd_soc_exit(void)
>  #endif
>  	platform_driver_unregister(&soc_driver);
>  }
> -
> -module_init(snd_soc_init);
>  module_exit(snd_soc_exit);
>  
>  /* Module information */

Acked-by: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk

_______________________________________________
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