Re: [PATCH] pinctrl: ralink: rt2880: fix '-Wmissing-prototypes' in init function
From: Linus Walleij
Date: Mon Jan 04 2021 - 09:41:23 EST
On Mon, Dec 28, 2020 at 7:47 AM Sergio Paracuellos
<sergio.paracuellos@xxxxxxxxx> wrote:
> Kernel test robot reported the following warning:
> 'warning: no previous prototype for 'rt2880_pinmux_init''.
> This function is the entry point for the platform driver and
> it is private to this driver. Hence declare it 'static' which is
> the correct thing to do fixing also this warning.
>
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Signed-off-by: Sergio Paracuellos <sergio.paracuellos@xxxxxxxxx>
Patch applied.
Yours,
Linus Walleij