projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
631c17e
)
bq27x00: Add MODULE_DEVICE_TABLE
author
Pali Rohár
<pali.rohar@gmail.com>
Mon, 31 Jan 2011 23:10:41 +0000
(
00:10
+0100)
committer
Lars-Peter Clausen
<lars@metafoo.de>
Tue, 22 Feb 2011 10:02:45 +0000
(11:02 +0100)
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>
drivers/power/bq27x00_battery.c
patch
|
blob
|
history
diff --git
a/drivers/power/bq27x00_battery.c
b/drivers/power/bq27x00_battery.c
index a1bd1ff753b3442bf3221dae4bbbf1245adeb080..0e99d02dea3355f5f93882f0e8f995d7181d13d7 100644
(file)
--- 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 = {