aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2011-01-31 18:10:41 -0500
committerLars-Peter Clausen <lars@metafoo.de>2011-02-22 05:02:45 -0500
commitfd9b958c5525024204e7e2c48fe5eae560d171bd (patch)
tree6f65f912604b75a2990607100f9cf2b389d039f2 /drivers/power
parent631c17ee5daf0ca73688cb5e5216fc0e3e340483 (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.c1
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};
675MODULE_DEVICE_TABLE(i2c, bq27x00_id);
675 676
676static struct i2c_driver bq27x00_battery_driver = { 677static struct i2c_driver bq27x00_battery_driver = {
677 .driver = { 678 .driver = {