]> git.baikalelectronics.ru Git - kernel.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)
commit2c91750d662941589477f8691f6a71b50ec8499e
tree8d44d57445abcb34ea1ace5cceed6102d2a93702
parentb311ee370bea54746171834c7a44fe5a6259109c
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