From: Jean Delvare Date: Mon, 27 Apr 2015 07:45:06 +0000 (+0200) Subject: thinkpad_acpi: Fix warning for static not at beginning X-Git-Tag: v4.1-rc3~27^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=df6dd1b35b0ec0ac6a5298378ceaf487091f448c;p=thirdparty%2Flinux.git thinkpad_acpi: Fix warning for static not at beginning 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 Cc: Henrique de Moraes Holschuh Cc: Darren Hart Signed-off-by: Darren Hart --- diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index 7769575345d89..9bb9ad6d4a1b1 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -2115,7 +2115,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 &