thinkpad_acpi: Fix old style declaration GCC warning
PATCH 1/1 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 <[email protected]>
--- drivers/platform/x86/thinkpad_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/x86/thinkpad_acpi.c +1 -1
@@ -7716,7 +7716,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 ) { }
Signature · 1 line
2.11.0.rc0.7.gbe5a750
A message that is not in the archive (sent off-list or not yet received): 20161125131807.3885-1-tklauser-93Khv+1bN0NyDzI6CaY1VQ@public.gmane.org
Henrique de Moraes Holschuh
Acked-byQuoted 4 lines · Tobias Klauser
Fix an [-Wold-style-declaration] GCC warning by moving the inline keyword before the return type.
Signed-off-by Tobias Klauser <[email protected]>
Quoted 17 lines
--- drivers/platform/x86/thinkpad_acpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/platform/x86/thinkpad_acpi.c +1
-1@@ -7716,7 +7716,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 ) { }
Signature · 3 lines
Henrique Holschuh ------------------------------------------------------------------------------
Quoted 8 lines · Henrique de Moraes Holschuh
Quoted 4 lines · Tobias Klauser
Fix an [-Wold-style-declaration] GCC warning by moving the inline keyword before the return type.
Signed-off-by Tobias Klauser <[email protected]>
Queued to testing, thank you.
Signature · 2 lines
Darren Hart Intel Open Source Technology Center