[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbodwJqXrFTKFBzGUw9sGRCbnbuPTMfvtDC1y9HBsKs=Q@mail.gmail.com>
Date: Tue, 12 Sep 2017 09:38:38 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Colin King <colin.king@...onical.com>
Cc: Baolin Wang <baolin.wang@...eadtrum.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
kernel-janitors@...r.kernel.org,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH][pinctrl-next] pinctrl: sprd: make three local functions static
On Mon, Sep 4, 2017 at 12:53 PM, Colin King <colin.king@...onical.com> wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> The functions sprd_pmx_get_function_count, sprd_pmx_get_function_name
> and sprd_pmx_get_function_groups are local to the source and do not
> need to be in global scope, so make them static.
>
> Cleans up sparse warnings:
> "symbol 'sprd_pmx_get_function_count' was not declared. Should it be
> static?"
> "symbol 'sprd_pmx_get_function_name' was not declared. Should it be
> static?"
> "symbol 'sprd_pmx_get_function_groups' was not declared. Should it be
> static?"
>
> Signed-off-by: Colin Ian King <colin.king@...onical.com>
Patch applied for fixes.
Yours,
Linus Walleij
Powered by blists - more mailing lists