aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMans Rullgard <mans.rullgard@linaro.org>2011-09-07 12:07:21 +0100
committerJohn Rigby <john.rigby@linaro.org>2011-11-16 15:01:37 -0700
commit1293dbcad35fbde6d2f64dd921fe081fb31364d4 (patch)
tree26023d8adc4934cb3141f58d4609651c7dbd11e8
parent9d629bb1764a296ea7cb7679c8016904aee4b771 (diff)
downloadlinux-linaro-precise-1293dbcad35fbde6d2f64dd921fe081fb31364d4.tar.gz
LINARO: SAUCE: ASoC: omap: add MODULE_ALIAS to mcbsp and pcm drivers
This adds MODULE_ALIAS directives to the omap-mcbsp-dai and omap-pcm-audio drivers so they can be auto-loaded when platform devices are scanned. Signed-off-by: Mans Rullgard <mans.rullgard@linaro.org>
-rw-r--r--sound/soc/omap/omap-mcbsp.c1
-rw-r--r--sound/soc/omap/omap-pcm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/omap/omap-mcbsp.c b/sound/soc/omap/omap-mcbsp.c
index 478d6077845..e118d7ba19e 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -789,3 +789,4 @@ module_exit(snd_omap_mcbsp_exit);
MODULE_AUTHOR("Jarkko Nikula <jarkko.nikula@bitmer.com>");
MODULE_DESCRIPTION("OMAP I2S SoC Interface");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:omap-mcbsp-dai");
diff --git a/sound/soc/omap/omap-pcm.c b/sound/soc/omap/omap-pcm.c
index 9b5c88ac35b..ffd8f13a087 100644
--- a/sound/soc/omap/omap-pcm.c
+++ b/sound/soc/omap/omap-pcm.c
@@ -439,3 +439,4 @@ module_exit(snd_omap_pcm_exit);
MODULE_AUTHOR("Jarkko Nikula <jarkko.nikula@bitmer.com>");
MODULE_DESCRIPTION("OMAP PCM DMA module");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:omap-pcm-audio");