diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-17 20:15:44 +0200 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-10-26 14:48:59 +0000 |
commit | a0aef1f529c9caf207176337ff0418a68a32e87f (patch) | |
tree | 224518e1741fdcba0eca5627ae705244d508e75c /drivers/mfd/atmel-hlcdc.c | |
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>
Diffstat (limited to 'drivers/mfd/atmel-hlcdc.c')
-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[] = { { .compatible = "atmel,sama5d4-hlcdc" }, { /* sentinel */ }, }; +MODULE_DEVICE_TABLE(of, atmel_hlcdc_match); static struct platform_driver atmel_hlcdc_driver = { .probe = atmel_hlcdc_probe, |