Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752621AbcJJNrl (ORCPT ); Mon, 10 Oct 2016 09:47:41 -0400 Received: from mail-pa0-f65.google.com ([209.85.220.65]:33838 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752538AbcJJNrj (ORCPT ); Mon, 10 Oct 2016 09:47:39 -0400 From: Wei Yongjun To: Paul Burton , Miguel Ojeda Sandonis Cc: Wei Yongjun , linux-kernel@vger.kernel.org Subject: [PATCH -next] auxdisplay: img-ascii-lcd: Add terminate entry for of_device_id tables Date: Mon, 10 Oct 2016 13:47:32 +0000 Message-Id: <1476107252-8419-1-git-send-email-weiyj.lk@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 705 Lines: 21 From: Wei Yongjun Make sure of_device_id tables are NULL terminated. Signed-off-by: Wei Yongjun --- 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 }, + { }, }; /**