Browse Source

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>
Olof Johansson 13 years ago
parent
commit
62df3935a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/power/sbs-battery.c

+ 1 - 1
drivers/power/sbs-battery.c

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