[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1324607824-2685-1-git-send-email-olof@lixom.net>
Date: Thu, 22 Dec 2011 18:37:04 -0800
From: Olof Johansson <olof@...om.net>
To: Anton Vorontsov <cbouatmailru@...il.com>
Cc: Rhyland Klein <rklein@...dia.com>, linux-kernel@...r.kernel.org,
Olof Johansson <olof@...om.net>
Subject: [PATCH] bq20z75: fix devicetree match table
It should be an of module table, not i2c.
Signed-off-by: Olof Johansson <olof@...om.net>
---
drivers/power/bq20z75.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/power/bq20z75.c b/drivers/power/bq20z75.c
index ce95ff7..3efca54 100644
--- a/drivers/power/bq20z75.c
+++ b/drivers/power/bq20z75.c
@@ -622,7 +622,7 @@ static const struct of_device_id bq20z75_dt_ids[] = {
{ .compatible = "ti,bq20z75" },
{ }
};
-MODULE_DEVICE_TABLE(i2c, bq20z75_dt_ids);
+MODULE_DEVICE_TABLE(of, bq20z75_dt_ids);
static struct bq20z75_platform_data *bq20z75_of_populate_pdata(
struct i2c_client *client)
--
1.7.8.GIT
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists