提交 62df3935 编写于 作者: O Olof Johansson 提交者: Anton Vorontsov

sbs-battery: Fix devicetree match table

It should be an of module table, not i2c.
Signed-off-by: NOlof Johansson <olof@lixom.net>
Acked-by: NRhyland Klein <rklein@nvidia.com>
Signed-off-by: NAnton Vorontsov <cbouatmailru@gmail.com>
上级 d77711aa
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册