summaryrefslogtreecommitdiff
path: root/sound/soc/pxa/mmp-pcm.c
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2016-05-06 18:27:34 +0300
committerMark Brown <broonie@kernel.org>2016-05-06 19:42:28 +0300
commite5b7d71aa5b32180adec49a17c752e577c68f740 (patch)
tree3322720d91946d6f93e91ac346340b9289530947 /sound/soc/pxa/mmp-pcm.c
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca (diff)
downloadlinux-e5b7d71aa5b32180adec49a17c752e577c68f740.tar.xz
ASoC: pxa: Fix module autoload for platform drivers
These platform drivers are lacking MODULE_ALIAS so module autoloading doesn't work. Tested on corgi and poodle with kernel 4.4. Signed-off-by: Andrea Adami <andrea.adami@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/pxa/mmp-pcm.c')
-rw-r--r--sound/soc/pxa/mmp-pcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/mmp-pcm.c b/sound/soc/pxa/mmp-pcm.c
index 51e790d006f5..96df9b2d8fc4 100644
--- a/sound/soc/pxa/mmp-pcm.c
+++ b/sound/soc/pxa/mmp-pcm.c
@@ -248,3 +248,4 @@ module_platform_driver(mmp_pcm_driver);
MODULE_AUTHOR("Leo Yan <leoy@marvell.com>");
MODULE_DESCRIPTION("MMP Soc Audio DMA module");
MODULE_LICENSE("GPL");
+MODULE_ALIAS("platform:mmp-pcm-audio");