From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937526AbdCJNdf (ORCPT ); Fri, 10 Mar 2017 08:33:35 -0500 Received: from ec2-52-27-115-49.us-west-2.compute.amazonaws.com ([52.27.115.49]:54398 "EHLO osg.samsung.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S937554AbdCJNda (ORCPT ); Fri, 10 Mar 2017 08:33:30 -0500 From: Javier Martinez Canillas To: linux-kernel@vger.kernel.org Cc: James Hogan , Ralf Baechle , Dmitry Torokhov , Andrew Morton , Javier Martinez Canillas , Miguel Ojeda Sandonis , Paul Burton Subject: [RESEND PATCH 1/2] auxdisplay: img-ascii-lcd: Add a sentinel entry to OF device ID table Date: Fri, 10 Mar 2017 10:33:06 -0300 Message-Id: <20170310133307.10254-2-javier@osg.samsung.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170310133307.10254-1-javier@osg.samsung.com> References: <20170310133307.10254-1-javier@osg.samsung.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The OF device ID table doesn't have a sentinel NULL entry and so it causes the following error: FATAL: drivers/auxdisplay/img-ascii-lcd: struct of_device_id is not terminated with a NULL entry! scripts/Makefile.modpost:91: recipe for target '__modpost' failed make[1]: *** [__modpost] Error 1 Makefile:1493: recipe for target 'modules' failed make: *** [modules] Error 2 Signed-off-by: Javier Martinez Canillas --- 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 bf43b5d2aafc..73bc826144d4 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 }, + { /* sentinel */ }, }; /** -- 2.9.3