[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1326692900.12796.0.camel@phoenix>
Date: Mon, 16 Jan 2012 13:48:20 +0800
From: Axel Lin <axel.lin@...il.com>
To: linux-kernel@...r.kernel.org
Cc: "Milo(Woogyom) Kim" <milo.kim@...com>,
Daniel Jeong <daniel.jeong@...com>,
Anton Vorontsov <cbouatmailru@...il.com>
Subject: [PATCH] power_supply: lp8727_charger: Add terminating entry for
i2c_device_id table
The i2c_device_id table is supposed to be zero-terminated.
Signed-off-by: Axel Lin <axel.lin@...il.com>
---
drivers/power/lp8727_charger.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c
index b15b575..c53dd12 100644
--- a/drivers/power/lp8727_charger.c
+++ b/drivers/power/lp8727_charger.c
@@ -464,6 +464,7 @@ static int __devexit lp8727_remove(struct i2c_client *cl)
static const struct i2c_device_id lp8727_ids[] = {
{"lp8727", 0},
+ { }
};
static struct i2c_driver lp8727_driver = {
--
1.7.5.4
--
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