projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d77711a
)
sbs-battery: Fix devicetree match table
author
Olof Johansson
<olof@lixom.net>
Fri, 6 Jan 2012 01:45:34 +0000
(
05:45
+0400)
committer
Anton Vorontsov
<cbouatmailru@gmail.com>
Fri, 6 Jan 2012 01:46:18 +0000
(
05:46
+0400)
It should be an of module table, not i2c.
Signed-off-by: Olof Johansson <olof@lixom.net>
Acked-by: Rhyland Klein <rklein@nvidia.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/sbs-battery.c
patch
|
blob
|
history
diff --git
a/drivers/power/sbs-battery.c
b/drivers/power/sbs-battery.c
index
b677b88
..
9ff8af0
100644
(file)
--- a/
drivers/power/sbs-battery.c
+++ b/
drivers/power/sbs-battery.c
@@
-610,7
+610,7
@@
static const struct of_device_id sbs_dt_ids[] = {
{ .compatible = "ti,bq20z75" },
{ }
};
-MODULE_DEVICE_TABLE(
i2c
, sbs_dt_ids);
+MODULE_DEVICE_TABLE(
of
, sbs_dt_ids);
static struct sbs_platform_data *sbs_of_populate_pdata(
struct i2c_client *client)