Re: [PATCH 2/3] pinctrl: st: Staticize local symbols

From: Linus Walleij
Date: Wed Aug 07 2013 - 15:35:10 EST


On Tue, Aug 6, 2013 at 11:12 AM, Jingoo Han <jg1.han@xxxxxxxxxxx> wrote:

> These local symbols are used only in this file.
> Fix the following sparse warning:
>
> drivers/pinctrl/pinctrl-st.c:291:14: warning: symbol 'stih415_input_delays' was not declared. Should it be static?
> drivers/pinctrl/pinctrl-st.c:292:14: warning: symbol 'stih415_output_delays' was not declared. Should it be static?
> drivers/pinctrl/pinctrl-st.c:327:14: warning: symbol 'stih416_delays' was not declared. Should it be static?
> drivers/pinctrl/pinctrl-st.c:814:12: warning: symbol 'st_pmx_get_fname' was not declared. Should it be static?
>
> Signed-off-by: Jingoo Han <jg1.han@xxxxxxxxxxx>

I already got an identical patch by some other sparse hacker, but thanks
anyway!

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/