[alsa-devel] [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
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");
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");
participants (2)
-
Arnaud Patard
-
Sascha Hauer