diff options
author | Lad, Prabhakar <prabhakar.csengg@gmail.com> | 2015-02-05 17:45:38 +0300 |
---|---|---|
committer | Darren Hart <dvhart@linux.intel.com> | 2015-02-07 05:57:18 +0300 |
commit | b201a47f3ca6e86d5b3d6d4c4f156a77e6d0cac7 (patch) | |
tree | 7356f51120f28ef6c57065c9cd697573e1f9ef3a /drivers/platform | |
parent | 802cf2e1e0f202507b6e21b7a12da56d5c86af62 (diff) | |
download | linux-b201a47f3ca6e86d5b3d6d4c4f156a77e6d0cac7.tar.xz |
thinkpad_acpi.c: Fix sparse warning (make undeclared var static)
Fix the following sparse warning:
thinkpad_acpi.c:3459:11: warning: symbol 'adaptive_keyboard_modes' was not declared. Should it be static?
Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r-- | drivers/platform/x86/thinkpad_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index c3d11fabc46f..0e9262b6273a 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c @@ -3456,7 +3456,7 @@ enum ADAPTIVE_KEY_MODE { LAYFLAT_MODE }; -const int adaptive_keyboard_modes[] = { +static const int adaptive_keyboard_modes[] = { HOME_MODE, /* WEB_BROWSER_MODE = 2, WEB_CONFERENCE_MODE = 3, */ |