projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b071a4
)
thinkpad_acpi: Fix warning for static not at beginning
author
Jean Delvare
<
[email protected]
>
Mon, 27 Apr 2015 07:45:06 +0000
(09:45 +0200)
committer
Darren Hart
<
[email protected]
>
Tue, 5 May 2015 20:56:46 +0000
(13:56 -0700)
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 <
[email protected]
>
Cc: Henrique de Moraes Holschuh <
[email protected]
>
Cc: Darren Hart <
[email protected]
>
Signed-off-by: Darren Hart <
[email protected]
>
drivers/platform/x86/thinkpad_acpi.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/thinkpad_acpi.c
b/drivers/platform/x86/thinkpad_acpi.c
index 7769575345d89f6ed4b3efc8068258104291bdfb..9bb9ad6d4a1b1b1c3600cd283f240d2479a80841 100644
(file)
--- 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 &