diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2016-11-25 08:18:07 -0500 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2016-12-13 12:29:07 -0500 |
commit | bb55a2ee76c2426686d320354f9ff7d9eadeb34b (patch) | |
tree | 8d44d57445abcb34ea1ace5cceed6102d2a93702 | |
parent | a3c42a467a254a17236ab817d5c7c6bc054e4f84 (diff) |
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>
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 78cee7671e11..69cb0da95be9 100644 --- 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 = { | |||
7771 | 7771 | ||
7772 | #define alsa_card NULL | 7772 | #define alsa_card NULL |
7773 | 7773 | ||
7774 | static void inline volume_alsa_notify_change(void) | 7774 | static inline void volume_alsa_notify_change(void) |
7775 | { | 7775 | { |
7776 | } | 7776 | } |
7777 | 7777 | ||