diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 14:15:44 -0400 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-26 10:48:59 -0400 |
commit | a0aef1f529c9caf207176337ff0418a68a32e87f (patch) | |
tree | 224518e1741fdcba0eca5627ae705244d508e75c | |
parent | c6d005ad7989803a2e30f95c81e71575c86543a1 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mfd/atmel-hlcdc.c b/drivers/mfd/atmel-hlcdc.c index 3fff6b5d0426..06c205868573 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[] = { | |||
148 | { .compatible = "atmel,sama5d4-hlcdc" }, | 148 | { .compatible = "atmel,sama5d4-hlcdc" }, |
149 | { /* sentinel */ }, | 149 | { /* sentinel */ }, |
150 | }; | 150 | }; |
151 | MODULE_DEVICE_TABLE(of, atmel_hlcdc_match); | ||
151 | 152 | ||
152 | static struct platform_driver atmel_hlcdc_driver = { | 153 | static struct platform_driver atmel_hlcdc_driver = { |
153 | .probe = atmel_hlcdc_probe, | 154 | .probe = atmel_hlcdc_probe, |