mfd: tps65217: Fix nonstandard declaration
authorArnd Bergmann <arnd@arndb.de>
Wed, 14 Sep 2016 08:13:28 +0000 (10:13 +0200)
committerLee Jones <lee.jones@linaro.org>
Tue, 4 Oct 2016 14:48:05 +0000 (15:48 +0100)
commitb4feabe917ee6995c80e2a53b84946d606e78e89
treedd619d680108f0b17014d0800b88db1db7f20a45
parentfe62c477df0c9501dea8c16d78e722c902737a53
mfd: tps65217: Fix nonstandard declaration

The tps65217 gained a new warning when building with W=1:

drivers/mfd/tps65217.c:85:1: error: 'inline' is not at beginning of declaration [-Werror=old-style-declaration]

This fixes it by putting the 'inline' modifier before 'const'.

Fixes: 262d5cc6ceb2 ("mfd: tps65217: Add support for IRQs")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/tps65217.c