Re: [PATCH 1/2] pinctrl: fix incorrect inline keyword in multiple drivers
From: Linus Walleij <hidden>
Date: 2016-06-14 06:55:09
Also in:
linux-arm-kernel, linux-rockchip, lkml
From: Linus Walleij <hidden>
Date: 2016-06-14 06:55:09
Also in:
linux-arm-kernel, linux-rockchip, lkml
On Mon, Jun 13, 2016 at 5:18 PM, Arnd Bergmann [off-list ref] 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@arndb.de>
Patch applied. Yours, Linus Walleij