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>
This commit is contained in:
parent
c6d005ad79
commit
a0aef1f529
|
@ -148,6 +148,7 @@ static const struct of_device_id atmel_hlcdc_match[] = {
|
||||||
{ .compatible = "atmel,sama5d4-hlcdc" },
|
{ .compatible = "atmel,sama5d4-hlcdc" },
|
||||||
{ /* sentinel */ },
|
{ /* sentinel */ },
|
||||||
};
|
};
|
||||||
|
MODULE_DEVICE_TABLE(of, atmel_hlcdc_match);
|
||||||
|
|
||||||
static struct platform_driver atmel_hlcdc_driver = {
|
static struct platform_driver atmel_hlcdc_driver = {
|
||||||
.probe = atmel_hlcdc_probe,
|
.probe = atmel_hlcdc_probe,
|
||||||
|
|
Loading…
Reference in a new issue