]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sbs-battery: Fix devicetree match table
authorOlof Johansson <olof@lixom.net>
Fri, 6 Jan 2012 01:45:34 +0000 (05:45 +0400)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Fri, 6 Jan 2012 01:46:18 +0000 (05:46 +0400)
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>
drivers/power/sbs-battery.c

index b677b88da00f7dc89118b87201ca1af6d53768fb..9ff8af069da6f681830ccd7207e86d9163c62e3c 100644 (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)