pinctrl: fix incorrect inline keyword in multiple drivers
authorArnd Bergmann <arnd@arndb.de>
Mon, 13 Jun 2016 15:18:34 +0000 (17:18 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 15 Jun 2016 06:37:41 +0000 (08:37 +0200)
commit56411f3c053efc29f761a4523f2d42c79b03a575
tree8965b09e0886bbd400bc5e68a747987f16ff7b8b
parent648eb7a1bc3ceadbb2450272bce5297b7aa3d37e
pinctrl: fix incorrect inline keyword in multiple drivers

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@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/freescale/pinctrl-imx.c
drivers/pinctrl/freescale/pinctrl-imx1-core.c
drivers/pinctrl/pinctrl-at91.c
drivers/pinctrl/pinctrl-rockchip.c
drivers/pinctrl/pinctrl-st.c