[PATCH 1/2] pinctrl: fix incorrect inline keyword in multiple drivers

Linus Walleij linus.walleij at linaro.org
Mon Jun 13 23:55:05 PDT 2016


On Mon, Jun 13, 2016 at 5:18 PM, Arnd Bergmann <arnd at arndb.de> 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 at arndb.de>

Patch applied.

Yours,
Linus Walleij



More information about the Linux-rockchip mailing list