OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a3c42a4
)
platform/x86: thinkpad_acpi: Fix old style declaration GCC warning
author
Tobias Klauser
<tklauser@distanz.ch>
Fri, 25 Nov 2016 13:18:07 +0000
(14:18 +0100)
committer
Darren 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
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/thinkpad_acpi.c
b/drivers/platform/x86/thinkpad_acpi.c
index
78cee76
..
69cb0da
100644
(file)
--- a/
drivers/platform/x86/thinkpad_acpi.c
+++ b/
drivers/platform/x86/thinkpad_acpi.c
@@
-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)
{
}