aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-01-12 07:45:02 -0500
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-03-26 12:41:21 -0400
commite2c5f7db789a5be8ba131e9fe3e87b66bc606e3b (patch)
tree89db8145c710f65b3186ad8af18573143f0de0db /drivers/power
parentdf58c04c9f4182f979973a06ce40b44a5b84aeb5 (diff)
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')
-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[] = {
480 {"lp8727", 0}, 480 {"lp8727", 0},
481 { } 481 { }
482}; 482};
483MODULE_DEVICE_TABLE(i2c, lp8727_ids);
483 484
484static struct i2c_driver lp8727_driver = { 485static struct i2c_driver lp8727_driver = {
485 .driver = { 486 .driver = {