Skip to content

Commit df6dd1b

Browse files
jdelvaredvhart
authored andcommitted
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>
1 parent 9b071a4 commit df6dd1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/platform/x86/thinkpad_acpi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2115,7 +2115,7 @@ static int hotkey_mask_get(void)
21152115
return 0;
21162116
}
21172117

2118-
void static hotkey_mask_warn_incomplete_mask(void)
2118+
static void hotkey_mask_warn_incomplete_mask(void)
21192119
{
21202120
/* log only what the user can fix... */
21212121
const u32 wantedmask = hotkey_driver_mask &

0 commit comments

Comments
 (0)