dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Olof Johansson 2012-01-06 05:45:34 +04:00 committed by Anton Vorontsov
parent d77711aaa1
commit 62df3935a7
1 changed files with 1 additions and 1 deletions

View File

@ -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)