summaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorMarek Belisko <marek@goldelico.com>2015-03-10 22:27:27 +0100
committerSebastian Reichel <sre@kernel.org>2015-04-06 19:39:57 +0200
commit5939d9dfe4406a49d8688eb827d88abcaf233c42 (patch)
treed21ad4954fd0b82074e81f58c9555f040ec46a77 /drivers/power
parentpower: twl4030-madc-battery: Convert to iio consumer. (diff)
downloadlinux-5939d9dfe4406a49d8688eb827d88abcaf233c42.tar.xz
linux-5939d9dfe4406a49d8688eb827d88abcaf233c42.zip
power: twl4030_madc_battery: Add missing MODULE_ALIAS
Without MODULE_ALIAS twl4030_madc_battery won't get loaded automatically. Signed-off-by: Marek Belisko <marek@goldelico.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/twl4030_madc_battery.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/twl4030_madc_battery.c b/drivers/power/twl4030_madc_battery.c
index f4b9257d795c..f5817e422d64 100644
--- a/drivers/power/twl4030_madc_battery.c
+++ b/drivers/power/twl4030_madc_battery.c
@@ -275,3 +275,4 @@ module_platform_driver(twl4030_madc_battery_driver);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Lukas Märdian <lukas@goldelico.com>");
MODULE_DESCRIPTION("twl4030_madc battery driver");
+MODULE_ALIAS("platform:twl4030_madc_battery");