From 62df3935a7ef842ad0af6025d2fc59d353de2e1d Mon Sep 17 00:00:00 2001 From: Olof Johansson Date: Fri, 6 Jan 2012 05:45:34 +0400 Subject: sbs-battery: Fix devicetree match table It should be an of module table, not i2c. Signed-off-by: Olof Johansson Acked-by: Rhyland Klein Signed-off-by: Anton Vorontsov --- drivers/power/sbs-battery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/power/sbs-battery.c') diff --git a/drivers/power/sbs-battery.c b/drivers/power/sbs-battery.c index b677b88da00f..9ff8af069da6 100644 --- a/drivers/power/sbs-battery.c +++ b/drivers/power/sbs-battery.c @@ -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) -- cgit v1.2.3