Skip to content

Commit

Permalink
thinkpad_acpi: Fix warning for static not at beginning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Darren Hart committed May 5, 2015
1 parent 9b071a4 commit df6dd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/platform/x86/thinkpad_acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &
Expand Down

0 comments on commit df6dd1b

Please sign in to comment.