summaryrefslogtreecommitdiff
path: root/drivers/power/lp8727_charger.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-01-12 16:45:02 +0400
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-03-26 20:41:21 +0400
commite2c5f7db789a5be8ba131e9fe3e87b66bc606e3b (patch)
tree89db8145c710f65b3186ad8af18573143f0de0db /drivers/power/lp8727_charger.c
parentdf58c04c9f4182f979973a06ce40b44a5b84aeb5 (diff)
downloadlinux-e2c5f7db789a5be8ba131e9fe3e87b66bc606e3b.tar.xz
lp8727_charger: Add MODULE_DEVICE_TABLE
Add MODULE_DEVICE_TABLE to setup modalias for lp8727. Allows auto modprobing. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/lp8727_charger.c')
-rw-r--r--drivers/power/lp8727_charger.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index 815dba37e3eb..ab0f431876e1 100644
--- a/drivers/power/lp8727_charger.c
+++ b/drivers/power/lp8727_charger.c
@@ -480,6 +480,7 @@ static const struct i2c_device_id lp8727_ids[] = {
{"lp8727", 0},
{ }
};
+MODULE_DEVICE_TABLE(i2c, lp8727_ids);
static struct i2c_driver lp8727_driver = {
.driver = {