summaryrefslogtreecommitdiffstats
path: root/drivers/platform/x86/thinkpad_acpi.c
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2015-04-27 09:45:06 +0200
committerDarren Hart <dvhart@linux.intel.com>2015-05-05 13:56:46 -0700
commitdf6dd1b35b0ec0ac6a5298378ceaf487091f448c (patch)
tree49e18edbd9a82b9be237cfd08acf1b197488be00 /drivers/platform/x86/thinkpad_acpi.c
parent9b071a43553d6b2df4364951639f61076a8dd676 (diff)
downloadlinux-stable-df6dd1b35b0ec0ac6a5298378ceaf487091f448c.tar.gz
linux-stable-df6dd1b35b0ec0ac6a5298378ceaf487091f448c.tar.bz2
linux-stable-df6dd1b35b0ec0ac6a5298378ceaf487091f448c.zip
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 <jdelvare@suse.de> Cc: Henrique de Moraes Holschuh <ibm-acpi@hmh.eng.br> Cc: Darren Hart <dvhart@infradead.org> Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform/x86/thinkpad_acpi.c')
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index 7769575345d8..9bb9ad6d4a1b 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 &