summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-01-16 13:48:20 +0800
committerAnton Vorontsov <cbouatmailru@gmail.com>2012-02-01 21:34:26 +0400
commit455a0e2cd80f7a2849b2e6d3be85c053ee44446b (patch)
treedb5bac16ac5263898eb387c6613e96dbeceda8db
parent1bbe24d465db626fed050e0128a7244b9cb407f4 (diff)
downloadop-kernel-dev-455a0e2cd80f7a2849b2e6d3be85c053ee44446b.zip
op-kernel-dev-455a0e2cd80f7a2849b2e6d3be85c053ee44446b.tar.gz
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@gmail.com> Acked-by: Milo(Woogyom) Kim <milo.kim@ti.com> Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
-rw-r--r--drivers/power/lp8727_charger.c1
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 = {
OpenPOWER on IntegriCloud