projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0df2dee
)
tps65090-charger: Fix module autoload for OF platform driver
author
Luis de Bethencourt
<luis@debethencourt.com>
Fri, 18 Sep 2015 16:54:07 +0000
(18:54 +0200)
committer
Sebastian Reichel
<sre@kernel.org>
Tue, 22 Sep 2015 14:03:37 +0000
(16:03 +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 <luisbg@osg.samsung.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/tps65090-charger.c
patch
|
blob
|
history
diff --git
a/drivers/power/tps65090-charger.c
b/drivers/power/tps65090-charger.c
index
7e8fbd2
..
1b4b5e0
100644
(file)
--- a/
drivers/power/tps65090-charger.c
+++ b/
drivers/power/tps65090-charger.c
@@
-353,6
+353,7
@@
static const struct of_device_id of_tps65090_charger_match[] = {
{ .compatible = "ti,tps65090-charger", },
{ /* end */ }
};
+MODULE_DEVICE_TABLE(of, of_tps65090_charger_match);
static struct platform_driver tps65090_charger_driver = {
.driver = {