浏览代码

mfd: tps65218: Terminate of match table

Failure to terminate this match table can lead to boot failures
depending on where the compiler places the match table.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Stephen Boyd 11 年之前
父节点
当前提交
8320513e8b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/mfd/tps65218.c

+ 1 - 0
drivers/mfd/tps65218.c

@@ -197,6 +197,7 @@ static struct regmap_irq_chip tps65218_irq_chip = {
 
 static const struct of_device_id of_tps65218_match_table[] = {
 	{ .compatible = "ti,tps65218", },
+	{}
 };
 
 static int tps65218_probe(struct i2c_client *client,