[alsa-devel] [PATCH 5/5] ASoC: mxs: Add appropriate MODULE_ALIAS()

Lothar Waßmann LW at KARO-electronics.de
Fri Dec 9 14:38:12 CET 2011


Signed-off-by: Lothar Waßmann <LW at KARO-electronics.de>
---
 sound/soc/mxs/mxs-pcm.c      |    1 +
 sound/soc/mxs/mxs-sgtl5000.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/mxs/mxs-pcm.c b/sound/soc/mxs/mxs-pcm.c
index 8646913..f39d7dd 100644
--- a/sound/soc/mxs/mxs-pcm.c
+++ b/sound/soc/mxs/mxs-pcm.c
@@ -359,3 +359,4 @@ static void __exit snd_mxs_pcm_exit(void)
 module_exit(snd_mxs_pcm_exit);
 
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:mxs-pcm-audio");
diff --git a/sound/soc/mxs/mxs-sgtl5000.c b/sound/soc/mxs/mxs-sgtl5000.c
index db5c184..228bbc5 100644
--- a/sound/soc/mxs/mxs-sgtl5000.c
+++ b/sound/soc/mxs/mxs-sgtl5000.c
@@ -172,3 +172,4 @@ module_exit(mxs_sgtl5000_exit);
 MODULE_AUTHOR("Freescale Semiconductor, Inc.");
 MODULE_DESCRIPTION("MXS ALSA SoC Machine driver");
 MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:mxs-sgtl5000");
-- 
1.5.6.5



More information about the Alsa-devel mailing list