summaryrefslogtreecommitdiffstats
path: root/drivers/power
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
parent0df2deeab462bde009c7f1a29c6d2d395bac39d8 (diff)
downloadlinux-c72b7bf82cc681c350c051e5f077b54dac531d2f.tar.gz
linux-c72b7bf82cc681c350c051e5f077b54dac531d2f.tar.bz2
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')
-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 = {