summaryrefslogtreecommitdiffstats
path: root/drivers/power/tps65090-charger.c
diff options
context:
space:
mode:
authorLuis de Bethencourt <luis@debethencourt.com>2015-09-18 18:54:07 +0200
committerSebastian Reichel <sre@kernel.org>2015-09-22 16:03:37 +0200
commitc72b7bf82cc681c350c051e5f077b54dac531d2f (patch)
tree885e29aeae1ed5b2d72acbcfb9caa88e05f7d2cc /drivers/power/tps65090-charger.c
parentmax8903_charger: Convert to using managed resources (diff)
downloadlinux-c72b7bf82cc681c350c051e5f077b54dac531d2f.tar.xz
linux-c72b7bf82cc681c350c051e5f077b54dac531d2f.zip
tps65090-charger: 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 <luisbg@osg.samsung.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/tps65090-charger.c')
-rw-r--r--drivers/power/tps65090-charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/tps65090-charger.c b/drivers/power/tps65090-charger.c
index 7e8fbd29c30e..1b4b5e09538e 100644
--- 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 = {