summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-03 12:59:32 +0200
committerMark Brown <broonie@kernel.org>2015-09-14 19:46:28 +0200
commit30953a804714fcfe49bec594239306bf5b476464 (patch)
treeed83524a2c05cb01348fc009ff6aaf64697e7b9e
parentLinux 4.3-rc1 (diff)
downloadlinux-30953a804714fcfe49bec594239306bf5b476464.tar.xz
linux-30953a804714fcfe49bec594239306bf5b476464.zip
ASoC: kirkwood: 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>
-rw-r--r--sound/soc/kirkwood/armada-370-db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/kirkwood/armada-370-db.c b/sound/soc/kirkwood/armada-370-db.c
index de7563bdc5c2..e0304d544f26 100644
--- a/sound/soc/kirkwood/armada-370-db.c
+++ b/sound/soc/kirkwood/armada-370-db.c
@@ -130,6 +130,7 @@ static const struct of_device_id a370db_dt_ids[] = {
{ .compatible = "marvell,a370db-audio" },
{ },
};
+MODULE_DEVICE_TABLE(of, a370db_dt_ids);
static struct platform_driver a370db_driver = {
.driver = {