Skip to content

Commit

Permalink
sbs-battery: Fix devicetree match table
Browse files Browse the repository at this point in the history
It should be an of module table, not i2c.

Signed-off-by: Olof Johansson <[email protected]>
Acked-by: Rhyland Klein <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
  • Loading branch information
olofj authored and enomsg committed Jan 6, 2012
1 parent d77711a commit 62df393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/power/sbs-battery.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 62df393

Please sign in to comment.