summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-02 00:35:38 +0300
committerJacek Anaszewski <j.anaszewski@samsung.com>2015-09-17 11:01:54 +0300
commit6528ca19c1c8d4756b534a1ce9df4c3849f9dd04 (patch)
tree6805ab1433e4b3ab0241e20bf4ba864394ffe99d /drivers
parent93a51aa406f61985d12b60f9860f949b4bf7e43d (diff)
downloadlinux-6528ca19c1c8d4756b534a1ce9df4c3849f9dd04.tar.xz
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>
Diffstat (limited to 'drivers')
-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,