summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 12:57:47 +0200
committerMark Brown <broonie@kernel.org>2015-09-14 19:44:51 +0200
commit5226f2340c67225d27f61330205f16314881cc5c (patch)
tree8f25aeb3c32d9efa99d9582848e21b646ca0f4b1 /sound
parentLinux 4.3-rc1 (diff)
downloadlinux-5226f2340c67225d27f61330205f16314881cc5c.tar.xz
linux-5226f2340c67225d27f61330205f16314881cc5c.zip
ASoC: fsl-asoc-card: Fix module autoload for OF platform driver
This platform driver has 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')
-rw-r--r--sound/soc/fsl/fsl-asoc-card.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/fsl/fsl-asoc-card.c b/sound/soc/fsl/fsl-asoc-card.c
index 5aeb6ed4827e..97bb4c5544cd 100644
--- a/sound/soc/fsl/fsl-asoc-card.c
+++ b/sound/soc/fsl/fsl-asoc-card.c
@@ -592,6 +592,7 @@ static const struct of_device_id fsl_asoc_card_dt_ids[] = {
{ .compatible = "fsl,imx-audio-wm8960", },
{}
};
+MODULE_DEVICE_TABLE(of, fsl_asoc_card_dt_ids);
static struct platform_driver fsl_asoc_card_driver = {
.probe = fsl_asoc_card_probe,