diff options
author | Luis de Bethencourt <luis@debethencourt.com> | 2015-09-01 23:36:15 +0200 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-09-17 10:02:00 +0200 |
commit | 3682c7bdf5065b99638c56adc1be1507ed5c0f0e (patch) | |
tree | fccfe2f2ea97cc1c6e1c580acb255639078d93e9 /drivers/leds | |
parent | 01736f07cad613937db13f7483b04e8f2af81883 (diff) | |
download | linux-3682c7bdf5065b99638c56adc1be1507ed5c0f0e.tar.gz linux-3682c7bdf5065b99638c56adc1be1507ed5c0f0e.tar.bz2 linux-3682c7bdf5065b99638c56adc1be1507ed5c0f0e.zip |
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/leds')
-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 = { |