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 15:48:59 +0100 |
commit | a0aef1f529c9caf207176337ff0418a68a32e87f (patch) | |
tree | 224518e1741fdcba0eca5627ae705244d508e75c /drivers/mfd/atmel-hlcdc.c | |
parent | mfd: Fixup clients of multi_reg_write/register_patch (diff) | |
download | linux-a0aef1f529c9caf207176337ff0418a68a32e87f.tar.xz linux-a0aef1f529c9caf207176337ff0418a68a32e87f.zip |
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, |