diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-01-12 20:45:02 +0800 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-03-26 20:41:21 +0400 |
commit | e2c5f7db789a5be8ba131e9fe3e87b66bc606e3b (patch) | |
tree | 89db8145c710f65b3186ad8af18573143f0de0db /drivers/power | |
parent | df58c04c9f4182f979973a06ce40b44a5b84aeb5 (diff) | |
download | linux-e2c5f7db789a5be8ba131e9fe3e87b66bc606e3b.tar.bz2 |
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.c | 1 |
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 = { |