浏览代码

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>
Tobias Klauser 8 年之前
父节点
当前提交
bb55a2ee76
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/platform/x86/thinkpad_acpi.c

+ 1 - 1
drivers/platform/x86/thinkpad_acpi.c

@@ -7771,7 +7771,7 @@ static struct ibm_struct volume_driver_data = {
 
 
 #define alsa_card NULL
 #define alsa_card NULL
 
 
-static void inline volume_alsa_notify_change(void)
+static inline void volume_alsa_notify_change(void)
 {
 {
 }
 }