From patchwork Wed Oct 19 13:23:06 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 617361 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 72223C43217 for ; Wed, 19 Oct 2022 13:41:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231907AbiJSNlt (ORCPT ); Wed, 19 Oct 2022 09:41:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232896AbiJSNl1 (ORCPT ); Wed, 19 Oct 2022 09:41:27 -0400 Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EA25111BB4 for ; Wed, 19 Oct 2022 06:28:56 -0700 (PDT) Received: from localhost.localdomain (unknown [IPv6:2804:14c:485:4b69:1071:7301:f2d2:b2c6]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: festevam@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 8EEE284E89; Wed, 19 Oct 2022 15:23:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1666185799; bh=YT3AaXyENUeucY7cLenOgZtzsgSDpwPvvHc9jjw5DRQ=; h=From:To:Cc:Subject:Date:From; b=eg3UNwmzyAVXyZYtYkbTN5fRL4VADVLpkzBYu6fOCeHPF15XbFOMM6k0cQAsHCAzc /y0fokw/lRFZYHqWY04rQ0A0qC9oXMX0lscQqSvoaJ5au3l7e/kRwBcTsub+iTqZZh BBKsDNrIdtKGOlKdjYPAcDrfi06ev9fHNU+fSuGed1qTgZJ0Hg4mCSicDnMfzrbLm/ j+eMmIKRLs+Av+mZDV1glaHZMuoZpfarxnq48JDX8Hv4p0NAv+F78QlbCcp3VwTv7Q GLpZxfh9xk3vof8gC/ydTMiSr0sje5qVYLWx8em2fHwCti+x0iqM72Rrh5pykWl5lX AyXeUW/OZoTYg== From: Fabio Estevam To: linus.walleij@linaro.org Cc: ping.bai@nxp.com, linux-gpio@vger.kernel.org, naresh.kamboju@linaro.org, andriy.shevchenko@linux.intel.com, Fabio Estevam , Linux Kernel Functional Testing Subject: [PATCH] pinctrl: imx1: Include the header Date: Wed, 19 Oct 2022 10:23:06 -0300 Message-Id: <20221019132306.65244-1-festevam@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org After some recent header cleanup in the pinctrl subsystem, the following build error is seen: drivers/pinctrl/freescale/pinctrl-imx1-core.c: In function 'imx1_pin_dbg_show': drivers/pinctrl/freescale/pinctrl-imx1-core.c:209:2: error: implicit declaration of function 'seq_printf'; did you mean 'scnprintf'? [-Werror=implicit-function-declaration] Explicitly add the header to fix it. Reported-by: Linux Kernel Functional Testing Signed-off-by: Fabio Estevam --- drivers/pinctrl/freescale/pinctrl-imx1-core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/freescale/pinctrl-imx1-core.c b/drivers/pinctrl/freescale/pinctrl-imx1-core.c index 70186448d2f4..1fac1a761d25 100644 --- a/drivers/pinctrl/freescale/pinctrl-imx1-core.c +++ b/drivers/pinctrl/freescale/pinctrl-imx1-core.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include "../core.h"