Re: [PATCH 1/2] pinctrl: fix incorrect inline keyword in multiple drivers
From: Linus Walleij
Date: Tue Jun 14 2016 - 02:55:13 EST
On Mon, Jun 13, 2016 at 5:18 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> When building with 'make W=1', we get harmless warnings about
> five drivers in drivers/pinctrl, which all contain a copy of
> the same line:
>
> drivers/pinctrl/freescale/pinctrl-imx1-core.c:160:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]
>
> This replaces the somewhat nonstandard 'static const inline'
> with 'static inline const', which has the same meaning but
> does not cause this warning.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
Patch applied.
Yours,
Linus Walleij