summaryrefslogtreecommitdiff
path: root/sound/soc/pxa/pxa2xx-pcm.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 14:00:03 +0300
committerMark Brown <broonie@kernel.org>2015-09-14 20:46:58 +0300
commitbaafd373e9287f20ca0c9a6bb38eb6785a146ac2 (patch)
tree572f3a813ab1f18e03a65d4a5a2797868780752b /sound/soc/pxa/pxa2xx-pcm.c
parent2fd7076a43710666b147e206866ecd946b0b33e5 (diff)
downloadlinux-baafd373e9287f20ca0c9a6bb38eb6785a146ac2.tar.xz
ASoC: pxa: Fix module autoload for OF platform drivers
These platform drivers have a OF device ID table but the OF module alias information is not created so module autoloading won't work. Signed-off-by: Luis de Bethencourt <luis@debethencourt.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/pxa/pxa2xx-pcm.c')
-rw-r--r--sound/soc/pxa/pxa2xx-pcm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/pxa/pxa2xx-pcm.c b/sound/soc/pxa/pxa2xx-pcm.c
index 831ee37d2e3e..29a3fdbb7b59 100644
--- a/sound/soc/pxa/pxa2xx-pcm.c
+++ b/sound/soc/pxa/pxa2xx-pcm.c
@@ -132,6 +132,7 @@ static const struct of_device_id snd_soc_pxa_audio_match[] = {
{ .compatible = "mrvl,pxa-pcm-audio" },
{ }
};
+MODULE_DEVICE_TABLE(of, snd_soc_pxa_audio_match);
#endif
static struct platform_driver pxa_pcm_driver = {