[alsa-devel] [patch 2/2] ASoC: imx: add missing module informations
Sascha Hauer
s.hauer at pengutronix.de
Thu Jun 23 09:50:43 CEST 2011
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 at rtp-net.org>
Acked-by: Sascha Hauer <s.hauer at 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 at 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 |
More information about the Alsa-devel
mailing list