]> git.karo-electronics.de Git - karo-tx-linux.git/commit
platform/x86: thinkpad_acpi: Fix old style declaration GCC warning
authorTobias Klauser <tklauser@distanz.ch>
Fri, 25 Nov 2016 13:18:07 +0000 (14:18 +0100)
committerDarren Hart <dvhart@linux.intel.com>
Tue, 13 Dec 2016 17:29:07 +0000 (09:29 -0800)
commitbb55a2ee76c2426686d320354f9ff7d9eadeb34b
tree8d44d57445abcb34ea1ace5cceed6102d2a93702
parenta3c42a467a254a17236ab817d5c7c6bc054e4f84
platform/x86: thinkpad_acpi: Fix old style declaration GCC warning

Fix an [-Wold-style-declaration] GCC warning by moving the inline
keyword before the return type.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
drivers/platform/x86/thinkpad_acpi.c