diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-02 00:36:15 +0300 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-09-17 11:02:00 +0300 |
commit | 3682c7bdf5065b99638c56adc1be1507ed5c0f0e (patch) | |
tree | fccfe2f2ea97cc1c6e1c580acb255639078d93e9 /drivers | |
parent | 01736f07cad613937db13f7483b04e8f2af81883 (diff) | |
download | linux-3682c7bdf5065b99638c56adc1be1507ed5c0f0e.tar.xz |
leds: ktd2692: 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-ktd2692.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/leds/leds-ktd2692.c b/drivers/leds/leds-ktd2692.c index 2ae8c4d17ff8..feca07be85f5 100644 --- a/drivers/leds/leds-ktd2692.c +++ b/drivers/leds/leds-ktd2692.c @@ -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 = { |