]> Pileus Git - ~andy/linux/commitdiff
lp8727_charger: Add terminating entry for i2c_device_id table
authorAxel Lin <axel.lin@gmail.com>
Mon, 16 Jan 2012 05:48:20 +0000 (13:48 +0800)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Wed, 1 Feb 2012 17:34:26 +0000 (21:34 +0400)
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>
drivers/power/lp8727_charger.c

index b15b575c070c5bd66e1164c93f7d58ecbc26b97a..c53dd1292f818bc595a54c863c63f362e28ad5aa 100644 (file)
@@ -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 = {