Skip to contentSkip to conversation

ASoC: imx: add missing module informations

PATCH Applied Arnaud Patard (Rtp) 2 participants 2 messages Jun 22, 2011 – Jun 23, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 ASoC: imx: add missing module informations

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

sound/soc/imx/imx-pcm-dma-mx2.c +2 -0
Index: sound-2.6/sound/soc/imx/imx-pcm-dma-mx2.c
===================================================================
@@ -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");
sound/soc/imx/imx-ssi.c +1 -1
Index: sound-2.6/sound/soc/imx/imx-ssi.c
===================================================================
@@ -775,4 +775,4 @@ module_exit(imx_ssi_exit);
 MODULE_AUTHOR("Sascha Hauer, <[email protected]>");
 MODULE_DESCRIPTION("i.MX I2S/ac97 SoC Interface");
 MODULE_LICENSE("GPL");
-
+MODULE_ALIAS("platform:imx-ssi");
maintainer Acked-by on v1 2/2
#1 lore raw
Quoted 5 lines · Arnaud Patard

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

Quoted 23 lines

Index: sound-2.6/sound/soc/imx/imx-pcm-dma-mx2.c
===================================================================

sound/soc/imx/imx-pcm-dma-mx2.c +2 -0
@@ -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/soc/imx/imx-ssi.c +1 -1
@@ -775,4 +775,4 @@ module_exit(imx_ssi_exit);
 MODULE_AUTHOR("Sascha Hauer, <[email protected]>");
 MODULE_DESCRIPTION("i.MX I2S/ac97 SoC Interface");
 MODULE_LICENSE("GPL");
-
+MODULE_ALIAS("platform:imx-ssi");
Signature · 4 lines
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 |