Explorar o código

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>
Axel Lin %!s(int64=14) %!d(string=hai) anos
pai
achega
455a0e2cd8
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      drivers/power/lp8727_charger.c

+ 1 - 0
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 = {