]> Git Repo - linux.git/commitdiff
lp8727_charger: Add terminating entry for i2c_device_id table
authorAxel Lin <[email protected]>
Mon, 16 Jan 2012 05:48:20 +0000 (13:48 +0800)
committerAnton Vorontsov <[email protected]>
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 <[email protected]>
Acked-by: Milo(Woogyom) Kim <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
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 = {
This page took 0.057854 seconds and 4 git commands to generate.