aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/power
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-01-05 20:45:34 -0500
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-01-05 20:46:18 -0500
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[] = {
610 { .compatible = "ti,bq20z75" }, 610 { .compatible = "ti,bq20z75" },
611 { } 611 { }
612}; 612};
613MODULE_DEVICE_TABLE(i2c, sbs_dt_ids); 613MODULE_DEVICE_TABLE(of, sbs_dt_ids);
614 614
615static struct sbs_platform_data *sbs_of_populate_pdata( 615static struct sbs_platform_data *sbs_of_populate_pdata(
616 struct i2c_client *client) 616 struct i2c_client *client)