summaryrefslogtreecommitdiff
path: root/drivers/power
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-01-06 05:45:34 +0400
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-01-06 05:46:18 +0400
commit62df3935a7ef842ad0af6025d2fc59d353de2e1d (patch)
tree65ad00fe35deae242fd7b630559836b99dac7a1f /drivers/power
parentd77711aaa17a7bb4d7fbf676b047051218c49e03 (diff)
sbs-battery: Fix devicetree match table
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>
Diffstat (limited to 'drivers/power')
-rw-r--r--drivers/power/sbs-battery.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/sbs-battery.c b/drivers/power/sbs-battery.c
index b677b88da00f..9ff8af069da6 100644
--- 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)