From: Axel Lin Date: Mon, 16 Jan 2012 05:48:20 +0000 (+0800) Subject: lp8727_charger: Add terminating entry for i2c_device_id table X-Git-Tag: v3.3-rc4~26^2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=455a0e2cd80f7a2849b2e6d3be85c053ee44446b;p=karo-tx-linux.git 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 Acked-by: Milo(Woogyom) Kim Signed-off-by: Anton Vorontsov --- 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) static const struct i2c_device_id lp8727_ids[] = { {"lp8727", 0}, + { } }; static struct i2c_driver lp8727_driver = {