浏览代码

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 13 年之前
父节点
当前提交
455a0e2cd8
共有 1 个文件被更改,包括 1 次插入0 次删除
  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 = {