forked from Minki/linux
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:
parent
d77711aaa1
commit
62df3935a7
@ -610,7 +610,7 @@ static const struct of_device_id sbs_dt_ids[] = {
|
|||||||
{ .compatible = "ti,bq20z75" },
|
{ .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(
|
static struct sbs_platform_data *sbs_of_populate_pdata(
|
||||||
struct i2c_client *client)
|
struct i2c_client *client)
|
||||||
|
Loading…
Reference in New Issue
Block a user