diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-01 23:35:38 +0200 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-09-17 10:01:54 +0200 |
commit | 6528ca19c1c8d4756b534a1ce9df4c3849f9dd04 (patch) | |
tree | 6805ab1433e4b3ab0241e20bf4ba864394ffe99d /drivers/leds/leds-bcm6328.c | |
parent | leds: aat1290: Fix module autoload for OF platform driver (diff) | |
download | linux-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>
Diffstat (limited to '')
-rw-r--r-- | drivers/leds/leds-bcm6328.c | 1 |
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, |