aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2011-02-01 00:10:41 +0100
committerLars-Peter Clausen <lars@metafoo.de>2011-02-22 11:02:45 +0100
commitfd9b958c5525024204e7e2c48fe5eae560d171bd (patch)
tree6f65f912604b75a2990607100f9cf2b389d039f2 /drivers/power
parent631c17ee5daf0ca73688cb5e5216fc0e3e340483 (diff)
downloadkernel_samsung_smdk4412-fd9b958c5525024204e7e2c48fe5eae560d171bd.zip
kernel_samsung_smdk4412-fd9b958c5525024204e7e2c48fe5eae560d171bd.tar.gz
kernel_samsung_smdk4412-fd9b958c5525024204e7e2c48fe5eae560d171bd.tar.bz2
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 a1bd1ff..0e99d02 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[] = {
{ "bq27500", BQ27500 },
{},
};
+MODULE_DEVICE_TABLE(i2c, bq27x00_id);
static struct i2c_driver bq27x00_battery_driver = {
.driver = {