]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mfd: atmel-hlcdc: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Thu, 17 Sep 2015 18:15:44 +0000 (20:15 +0200)
committerLee Jones <lee.jones@linaro.org>
Mon, 26 Oct 2015 14:48:59 +0000 (14:48 +0000)
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>
drivers/mfd/atmel-hlcdc.c

index 3fff6b5d0426830833f98f708837f33c299100ef..06c205868573e8d7d7b98e1c142156a2cc572454 100644 (file)
@@ -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,