]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
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)
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

index 78cee7671e115b131e1768e78795c5233eeed584..69cb0da95be91bfb01ece405ff615fa7aa5bb83f 100644 (file)
@@ -7771,7 +7771,7 @@ static struct ibm_struct volume_driver_data = {
 
 #define alsa_card NULL
 
-static void inline volume_alsa_notify_change(void)
+static inline void volume_alsa_notify_change(void)
 {
 }