diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2011-01-31 18:10:41 -0500 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2011-02-22 05:02:45 -0500 |
commit | fd9b958c5525024204e7e2c48fe5eae560d171bd (patch) | |
tree | 6f65f912604b75a2990607100f9cf2b389d039f2 /drivers/power | |
parent | 631c17ee5daf0ca73688cb5e5216fc0e3e340483 (diff) |
bq27x00: Add MODULE_DEVICE_TABLE
This patch adds MODULE_DEVICE_TABLE for module bq27x00_battery.
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Tested-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Rodolfo Giometti <giometti@linux.it>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Diffstat (limited to 'drivers/power')
-rw-r--r-- | drivers/power/bq27x00_battery.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/bq27x00_battery.c b/drivers/power/bq27x00_battery.c index a1bd1ff753b3..0e99d02dea33 100644 --- a/drivers/power/bq27x00_battery.c +++ b/drivers/power/bq27x00_battery.c | |||
@@ -672,6 +672,7 @@ static const struct i2c_device_id bq27x00_id[] = { | |||
672 | { "bq27500", BQ27500 }, | 672 | { "bq27500", BQ27500 }, |
673 | {}, | 673 | {}, |
674 | }; | 674 | }; |
675 | MODULE_DEVICE_TABLE(i2c, bq27x00_id); | ||
675 | 676 | ||
676 | static struct i2c_driver bq27x00_battery_driver = { | 677 | static struct i2c_driver bq27x00_battery_driver = { |
677 | .driver = { | 678 | .driver = { |