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-09-23 09:01:17 -0600
commit8c1f71e126082a542d38172b3803cfd7c775323a (patch)
tree3ab8a2c062576bb7b2d0c564157d2214b321ebb0
parent5be406b8a0adf47573802b07704c05788d1e1ae2 (diff)
downloadlinux-linaro-8c1f71e126082a542d38172b3803cfd7c775323a.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 07b77235724..5ddfadd09cd 100644
--- a/sound/soc/omap/omap-mcbsp.c
+++ b/sound/soc/omap/omap-mcbsp.c
@@ -783,3 +783,4 @@ module_exit(snd_omap_mcbsp_exit);
MODULE_AUTHOR("Jarkko Nikula <jhnikula@gmail.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 e6a6b991d05..f19ccc179ea 100644
--- a/sound/soc/omap/omap-pcm.c
+++ b/sound/soc/omap/omap-pcm.c
@@ -437,3 +437,4 @@ module_exit(snd_omap_pcm_exit);
MODULE_AUTHOR("Jarkko Nikula <jhnikula@gmail.com>");
MODULE_DESCRIPTION("OMAP PCM DMA module");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:omap-pcm-audio");