From: Tobias Klauser Date: Fri, 25 Nov 2016 13:18:07 +0000 (+0100) Subject: platform/x86: thinkpad_acpi: Fix old style declaration GCC warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=bb55a2ee76c2426686d320354f9ff7d9eadeb34b;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 Acked-by: Henrique de Moraes Holschuh Signed-off-by: Darren Hart --- 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 = { #define alsa_card NULL -static void inline volume_alsa_notify_change(void) +static inline void volume_alsa_notify_change(void) { }