소스 검색

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[] = {
 static const struct of_device_id of_tps65218_match_table[] = {
 	{ .compatible = "ti,tps65218", },
 	{ .compatible = "ti,tps65218", },
+	{}
 };
 };
 
 
 static int tps65218_probe(struct i2c_client *client,
 static int tps65218_probe(struct i2c_client *client,