diff options
author | Axel Lin <axel.lin@gmail.com> | 2012-01-16 00:48:20 -0500 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2012-02-01 12:34:26 -0500 |
commit | 455a0e2cd80f7a2849b2e6d3be85c053ee44446b (patch) | |
tree | db5bac16ac5263898eb387c6613e96dbeceda8db | |
parent | 1bbe24d465db626fed050e0128a7244b9cb407f4 (diff) |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/power/lp8727_charger.c b/drivers/power/lp8727_charger.c index b15b575c070c..c53dd1292f81 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) | |||
464 | 464 | ||
465 | static const struct i2c_device_id lp8727_ids[] = { | 465 | static const struct i2c_device_id lp8727_ids[] = { |
466 | {"lp8727", 0}, | 466 | {"lp8727", 0}, |
467 | { } | ||
467 | }; | 468 | }; |
468 | 469 | ||
469 | static struct i2c_driver lp8727_driver = { | 470 | static struct i2c_driver lp8727_driver = { |