projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01736f0
)
leds: ktd2692: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Tue, 1 Sep 2015 21:36:15 +0000
(23:36 +0200)
committer
Jacek Anaszewski
<j.anaszewski@samsung.com>
Thu, 17 Sep 2015 08:02:00 +0000
(10:02 +0200)
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>
drivers/leds/leds-ktd2692.c
patch
|
blob
|
history
diff --git
a/drivers/leds/leds-ktd2692.c
b/drivers/leds/leds-ktd2692.c
index 2ae8c4d17ff8e0c2e971102a5844170c2e734ec2..feca07be85f590c09f4b12a69835e59e44ecff9b 100644
(file)
--- 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 = {