summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-01 23:35:38 +0200
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-09-17 10:01:54 +0200
commit6528ca19c1c8d4756b534a1ce9df4c3849f9dd04 (patch)
tree6805ab1433e4b3ab0241e20bf4ba864394ffe99d
parentleds: aat1290: Fix module autoload for OF platform driver (diff)
downloadlinux-6528ca19c1c8d4756b534a1ce9df4c3849f9dd04.tar.xz
linux-6528ca19c1c8d4756b534a1ce9df4c3849f9dd04.zip
leds: bcm6328: 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 <luis@debethencourt.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
-rw-r--r--drivers/leds/leds-bcm6328.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-bcm6328.c b/drivers/leds/leds-bcm6328.c
index 986fe1e28f84..1793727bc9ae 100644
--- a/drivers/leds/leds-bcm6328.c
+++ b/drivers/leds/leds-bcm6328.c
@@ -395,6 +395,7 @@ static const struct of_device_id bcm6328_leds_of_match[] = {
{ .compatible = "brcm,bcm6328-leds", },
{ },
};
+MODULE_DEVICE_TABLE(of, bcm6328_leds_of_match);
static struct platform_driver bcm6328_leds_driver = {
.probe = bcm6328_leds_probe,