Re: [PATCH] pinctrl: ocelot: make function ocelot_pinctrl_probe static
From: Linus Walleij
Date: Thu Feb 22 2018 - 08:02:54 EST
On Thu, Feb 8, 2018 at 3:24 PM, Colin King <colin.king@xxxxxxxxxxxxx> wrote:
> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> The function ocelot_pinctrl_probe is local to the source and does not
> need to be in global scope, so make it static.
>
> Cleans up sparse warning:
> drivers/pinctrl/pinctrl-ocelot.c:465:5: warning: symbol
> 'ocelot_pinctrl_probe' was not declared. Should it be static?
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
Patch applied.
Yours,
Linus Walleij