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 phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 11A96C04A68 for ; Thu, 28 Jul 2022 06:31:12 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 6ECCD841DF; Thu, 28 Jul 2022 08:31:10 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1658989870; bh=TxUociOP+SKgIDmGa5grpjnMG3VoXhcy+7F9eJaugrY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=SfraX2gYcDcOMuIuDJQptM2+kvUEde3ppn8azyJmykS5PTH0NW1nB3U9UCWGHJRUQ Ix6v3eXZ8u1/S/NNSk8tef/i8TaASMeZqOrJQCfx2MHYtFYcxNgINwzX1hLZuI9A+Q gIrRlfMUqIFWWxgru40HKShFKxGtFvivkmpyGKvY0phEcVlfIrEyra/NEArHoYnpAc fd6K9D7F6HeHo2yvrO3rYSI3QRwORwRuv86SGvDhmN+oMVvWSi/s48cOmoiTAtpltq +Zm91l0O7xQUTZZ5cq+jBthEESgwdF1xI95wetwgQaRVYwI1XZRe61RWT2uY8uNhWa aLXlqJtUgaygA== Received: by phobos.denx.de (Postfix, from userid 109) id A2AB5841EA; Thu, 28 Jul 2022 08:31:09 +0200 (CEST) Received: from mout-u-204.mailbox.org (mout-u-204.mailbox.org [IPv6:2001:67c:2050:101:465::204]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8A1988419E for ; Thu, 28 Jul 2022 08:31:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-204.mailbox.org (Postfix) with ESMTPS id 4Ltgl03Vxnz9sgW; Thu, 28 Jul 2022 08:30:52 +0200 (CEST) Message-ID: <4019459e-edb6-e27f-96e7-5f5043497f22@denx.de> Date: Thu, 28 Jul 2022 08:30:51 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 3/6] arm64: a37xx: pinctrl: Mark all functions and structures as static Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: Marek Behun , u-boot@lists.denx.de References: <20220725120903.3284-1-pali@kernel.org> <20220725120903.3284-4-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220725120903.3284-4-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.6 at phobos.denx.de X-Virus-Status: Clean On 25.07.22 14:09, Pali Rohár wrote: > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c > index e1cde53a0243..e0445e3e2b3a 100644 > --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c > +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c > @@ -193,14 +193,14 @@ static struct armada_37xx_pin_group armada_37xx_sb_groups[] = { > "mii", "mii_err"), > }; > > -const struct armada_37xx_pin_data armada_37xx_pin_nb = { > +static const struct armada_37xx_pin_data armada_37xx_pin_nb = { > .nr_pins = 36, > .name = "GPIO1", > .groups = armada_37xx_nb_groups, > .ngroups = ARRAY_SIZE(armada_37xx_nb_groups), > }; > > -const struct armada_37xx_pin_data armada_37xx_pin_sb = { > +static const struct armada_37xx_pin_data armada_37xx_pin_sb = { > .nr_pins = 30, > .name = "GPIO2", > .groups = armada_37xx_sb_groups, > @@ -558,7 +558,7 @@ static int armada_37xx_gpiochip_register(struct udevice *parent, > return 0; > } > > -const struct pinctrl_ops armada_37xx_pinctrl_ops = { > +static const struct pinctrl_ops armada_37xx_pinctrl_ops = { > .get_groups_count = armada_37xx_pmx_get_groups_count, > .get_group_name = armada_37xx_pmx_get_group_name, > .get_functions_count = armada_37xx_pmx_get_funcs_count, > @@ -567,7 +567,7 @@ const struct pinctrl_ops armada_37xx_pinctrl_ops = { > .set_state = pinctrl_generic_set_state, > }; > > -int armada_37xx_pinctrl_probe(struct udevice *dev) > +static int armada_37xx_pinctrl_probe(struct udevice *dev) > { > struct armada_37xx_pinctrl *info = dev_get_priv(dev); > const struct armada_37xx_pin_data *pin_data; Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de