leds: ktd2692: Fix module autoload for OF platform driver
authorLuis de Bethencourt <luis@debethencourt.com>
Tue, 1 Sep 2015 21:36:15 +0000 (23:36 +0200)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Thu, 17 Sep 2015 08:02:00 +0000 (10:02 +0200)
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 <luis@debethencourt.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/leds-ktd2692.c

index 2ae8c4d17ff8e0c2e971102a5844170c2e734ec2..feca07be85f590c09f4b12a69835e59e44ecff9b 100644 (file)
@@ -426,6 +426,7 @@ static const struct of_device_id ktd2692_match[] = {
        { .compatible = "kinetic,ktd2692", },
        { /* sentinel */ },
 };
+MODULE_DEVICE_TABLE(of, ktd2692_match);
 
 static struct platform_driver ktd2692_driver = {
        .driver = {