summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-17 20:15:44 +0200
committerLee Jones <lee.jones@linaro.org>2015-10-26 14:48:59 +0000
commita0aef1f529c9caf207176337ff0418a68a32e87f (patch)
tree224518e1741fdcba0eca5627ae705244d508e75c
parentc6d005ad7989803a2e30f95c81e71575c86543a1 (diff)
downloadop-kernel-dev-a0aef1f529c9caf207176337ff0418a68a32e87f.zip
op-kernel-dev-a0aef1f529c9caf207176337ff0418a68a32e87f.tar.gz
mfd: atmel-hlcdc: 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 <luisbg@osg.samsung.com> Signed-off-by: Lee Jones <lee.jones@linaro.org>
-rw-r--r--drivers/mfd/atmel-hlcdc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c
index 3fff6b5..06c2058 100644
--- a/drivers/mfd/atmel-hlcdc.c
+++ b/drivers/mfd/atmel-hlcdc.c
@@ -148,6 +148,7 @@ static const struct of_device_id atmel_hlcdc_match[] = {
{ .compatible = "atmel,sama5d4-hlcdc" },
{ /* sentinel */ },
};
+MODULE_DEVICE_TABLE(of, atmel_hlcdc_match);
static struct platform_driver atmel_hlcdc_driver = {
.probe = atmel_hlcdc_probe,
OpenPOWER on IntegriCloud