* [PATCH] ASoC: Move soc-core module init next to functon definition
@ 2010-10-13 9:57 Mark Brown
2010-10-13 10:00 ` Liam Girdwood
2010-10-15 10:06 ` Liam Girdwood
0 siblings, 2 replies; 3+ messages in thread
From: Mark Brown @ 2010-10-13 9:57 UTC (permalink / raw)
To: Liam Girdwood; +Cc: alsa-devel, patches, Mark Brown
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
---
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 */
--
1.7.1
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: Move soc-core module init next to functon definition
2010-10-13 9:57 [PATCH] ASoC: Move soc-core module init next to functon definition Mark Brown
@ 2010-10-13 10:00 ` Liam Girdwood
2010-10-15 10:06 ` Liam Girdwood
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2010-10-13 10:00 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, patches
On Wed, 2010-10-13 at 10:57 +0100, Mark Brown wrote:
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> 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@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] ASoC: Move soc-core module init next to functon definition
2010-10-13 9:57 [PATCH] ASoC: Move soc-core module init next to functon definition Mark Brown
2010-10-13 10:00 ` Liam Girdwood
@ 2010-10-15 10:06 ` Liam Girdwood
1 sibling, 0 replies; 3+ messages in thread
From: Liam Girdwood @ 2010-10-15 10:06 UTC (permalink / raw)
To: Mark Brown; +Cc: alsa-devel, patches
On Wed, 2010-10-13 at 10:57 +0100, Mark Brown wrote:
> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
> ---
> sound/soc/soc-core.c | 3 +--
> 1 files changed, 1 insertions(+), 2 deletions(-)
>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
--
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-10-15 10:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 9:57 [PATCH] ASoC: Move soc-core module init next to functon definition Mark Brown
2010-10-13 10:00 ` Liam Girdwood
2010-10-15 10:06 ` Liam Girdwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).