X86 platform drivers
 help / color / mirror / Atom feed
* [PATCH] thinkpad_acpi: Fix warning
@ 2015-04-27  7:45 Jean Delvare
       [not found] ` <20150427094506.0aacec22-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Jean Delvare @ 2015-04-27  7:45 UTC (permalink / raw)
  To: ibm-acpi-devel
  Cc: platform-driver-x86, Henrique de Moraes Holschuh, Darren Hart

Fix the following warning:

warning: "static" is not at beginning of declaration
 void static hotkey_mask_warn_incomplete_mask(void)
 ^

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br>
Cc: Darren Hart <dvhart@infradead.org>
---
 drivers/platform/x86/thinkpad_acpi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-4.1-rc0.orig/drivers/platform/x86/thinkpad_acpi.c	2015-04-26 22:49:27.587460658 +0200
+++ linux-4.1-rc0/drivers/platform/x86/thinkpad_acpi.c	2015-04-27 09:39:10.628031136 +0200
@@ -2093,7 +2093,7 @@ static int hotkey_mask_get(void)
 	return 0;
 }
 
-void static hotkey_mask_warn_incomplete_mask(void)
+static void hotkey_mask_warn_incomplete_mask(void)
 {
 	/* log only what the user can fix... */
 	const u32 wantedmask = hotkey_driver_mask &


-- 
Jean Delvare
SUSE L3 Support

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-04-28  4:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-27  7:45 [PATCH] thinkpad_acpi: Fix warning Jean Delvare
     [not found] ` <20150427094506.0aacec22-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2015-04-27 11:55   ` Henrique de Moraes Holschuh
2015-04-28  4:53     ` Darren Hart

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox