[<prev] [next>] [day] [month] [year] [list]
Date: Mon, 10 Oct 2016 13:47:32 +0000
From: Wei Yongjun <weiyj.lk@...il.com>
To: Paul Burton <paul.burton@...tec.com>,
Miguel Ojeda Sandonis <miguel.ojeda.sandonis@...il.com>
Cc: Wei Yongjun <weiyongjun1@...wei.com>, linux-kernel@...r.kernel.org
Subject: [PATCH -next] auxdisplay: img-ascii-lcd: Add terminate entry for of_device_id tables
From: Wei Yongjun <weiyongjun1@...wei.com>
Make sure of_device_id tables are NULL terminated.
Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
---
drivers/auxdisplay/img-ascii-lcd.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/auxdisplay/img-ascii-lcd.c b/drivers/auxdisplay/img-ascii-lcd.c
index bf43b5d..e37a4b0 100644
--- a/drivers/auxdisplay/img-ascii-lcd.c
+++ b/drivers/auxdisplay/img-ascii-lcd.c
@@ -218,6 +218,7 @@ static const struct of_device_id img_ascii_lcd_matches[] = {
{ .compatible = "img,boston-lcd", .data = &boston_config },
{ .compatible = "mti,malta-lcd", .data = &malta_config },
{ .compatible = "mti,sead3-lcd", .data = &sead3_config },
+ { },
};
/**
Powered by blists - more mailing lists