From nobody Mon May 11 09:11:17 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 00F12C433F5 for ; Sat, 9 Apr 2022 10:00:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241412AbiDIKCf (ORCPT ); Sat, 9 Apr 2022 06:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44146 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241128AbiDIKCd (ORCPT ); Sat, 9 Apr 2022 06:02:33 -0400 Received: from aposti.net (aposti.net [89.234.176.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80C0415FC0 for ; Sat, 9 Apr 2022 03:00:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crapouillou.net; s=mail; t=1649498423; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references; bh=A5PJEamvB/Q6ZdrsbhzIrxfL3V+SEu121g25tOfMR6k=; b=K0HGJxv37mBu5ndPyGax7E9gMrLHTdObUC76F2MRpH4+rdMGmFgkxSyrXr9KyoF2jV7e5X hzbkrhMbeW6m5Or/XLj/z0SmJbXHItUt+0fLyRC1SnfLMtV5F30+OH9KUcLhfv5WJJPbDw Pv9nsv+bcslHCLeYaR5Qm39g52ZuVI4= From: Paul Cercueil To: Thierry Reding , Sam Ravnborg Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Paul Cercueil , Christophe Branchereau , kbuild-all , Stephen Rothwell , kernel test robot Subject: [PATCH] drm/panel: newvision-nv3052c: Fix build Date: Sat, 9 Apr 2022 11:00:16 +0100 Message-Id: <20220409100016.9337-1-paul@crapouillou.net> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The driver was compile-tested then rebased on drm-misc-next, and not compile-tested after the rebase; unfortunately the driver didn't compile anymore when it hit drm-misc-next. Fixes: 49956b505c53 ("drm/panel: Add panel driver for NewVision NV3052C bas= ed LCDs") Cc: Christophe Branchereau Cc: kbuild-all Cc: Stephen Rothwell Reported-by: kernel test robot Signed-off-by: Paul Cercueil Acked-by: Sam Ravnborg --- drivers/gpu/drm/panel/panel-newvision-nv3052c.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c b/drivers/gpu/= drm/panel/panel-newvision-nv3052c.c index 127bcfdb59df..cf078f0d3cd3 100644 --- a/drivers/gpu/drm/panel/panel-newvision-nv3052c.c +++ b/drivers/gpu/drm/panel/panel-newvision-nv3052c.c @@ -416,15 +416,13 @@ static int nv3052c_probe(struct spi_device *spi) return 0; } =20 -static int nv3052c_remove(struct spi_device *spi) +static void nv3052c_remove(struct spi_device *spi) { struct nv3052c *priv =3D spi_get_drvdata(spi); =20 drm_panel_remove(&priv->panel); drm_panel_disable(&priv->panel); drm_panel_unprepare(&priv->panel); - - return 0; } =20 static const struct drm_display_mode ltk035c5444t_modes[] =3D { --=20 2.35.1