Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [patch 2/2] ASoC: imx: add missing module informations
@ 2011-06-22 20:21 Arnaud Patard
  2011-06-23  7:50 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaud Patard @ 2011-06-22 20:21 UTC (permalink / raw)
  To: alsa-devel; +Cc: s.hauer, broonie, lrg

[-- Attachment #1: audio_modules_aliases.patch --]
[-- Type: text/plain, Size: 1144 bytes --]

- add some modules aliases
- add module license to avoid tainted kernel when loading the imx-pcm-audio
  driver

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Index: sound-2.6/sound/soc/imx/imx-pcm-dma-mx2.c
===================================================================
--- sound-2.6.orig/sound/soc/imx/imx-pcm-dma-mx2.c	2011-06-22 15:09:06.000000000 +0200
+++ sound-2.6/sound/soc/imx/imx-pcm-dma-mx2.c	2011-06-22 15:36:36.000000000 +0200
@@ -337,3 +337,5 @@ static void __exit snd_imx_pcm_exit(void
 	platform_driver_unregister(&imx_pcm_driver);
 }
 module_exit(snd_imx_pcm_exit);
+MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:imx-pcm-audio");
Index: sound-2.6/sound/soc/imx/imx-ssi.c
===================================================================
--- sound-2.6.orig/sound/soc/imx/imx-ssi.c	2011-06-22 15:09:06.000000000 +0200
+++ sound-2.6/sound/soc/imx/imx-ssi.c	2011-06-22 15:36:36.000000000 +0200
@@ -775,4 +775,4 @@ module_exit(imx_ssi_exit);
 MODULE_AUTHOR("Sascha Hauer, <s.hauer@pengutronix.de>");
 MODULE_DESCRIPTION("i.MX I2S/ac97 SoC Interface");
 MODULE_LICENSE("GPL");
-
+MODULE_ALIAS("platform:imx-ssi");

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch 2/2] ASoC: imx: add missing module informations
  2011-06-22 20:21 [patch 2/2] ASoC: imx: add missing module informations Arnaud Patard
@ 2011-06-23  7:50 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2011-06-23  7:50 UTC (permalink / raw)
  To: Arnaud Patard; +Cc: alsa-devel, broonie, lrg

On Wed, Jun 22, 2011 at 10:21:49PM +0200, Arnaud Patard wrote:
> - add some modules aliases
> - add module license to avoid tainted kernel when loading the imx-pcm-audio
>   driver
> 
> Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>

Acked-by: Sascha Hauer <s.hauer@pengutronix.de>

> Index: sound-2.6/sound/soc/imx/imx-pcm-dma-mx2.c
> ===================================================================
> --- sound-2.6.orig/sound/soc/imx/imx-pcm-dma-mx2.c	2011-06-22 15:09:06.000000000 +0200
> +++ sound-2.6/sound/soc/imx/imx-pcm-dma-mx2.c	2011-06-22 15:36:36.000000000 +0200
> @@ -337,3 +337,5 @@ static void __exit snd_imx_pcm_exit(void
>  	platform_driver_unregister(&imx_pcm_driver);
>  }
>  module_exit(snd_imx_pcm_exit);
> +MODULE_LICENSE("GPL");
> +MODULE_ALIAS("platform:imx-pcm-audio");
> Index: sound-2.6/sound/soc/imx/imx-ssi.c
> ===================================================================
> --- sound-2.6.orig/sound/soc/imx/imx-ssi.c	2011-06-22 15:09:06.000000000 +0200
> +++ sound-2.6/sound/soc/imx/imx-ssi.c	2011-06-22 15:36:36.000000000 +0200
> @@ -775,4 +775,4 @@ module_exit(imx_ssi_exit);
>  MODULE_AUTHOR("Sascha Hauer, <s.hauer@pengutronix.de>");
>  MODULE_DESCRIPTION("i.MX I2S/ac97 SoC Interface");
>  MODULE_LICENSE("GPL");
> -
> +MODULE_ALIAS("platform:imx-ssi");
> 
> 
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-23  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-22 20:21 [patch 2/2] ASoC: imx: add missing module informations Arnaud Patard
2011-06-23  7:50 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox