Commit b201a47f authored by Lad, Prabhakar's avatar Lad, Prabhakar Committed by Darren Hart

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: default avatarLad, Prabhakar <prabhakar.csengg@gmail.com>
Acked-by: default avatarHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: default avatarDarren Hart <dvhart@linux.intel.com>
parent 802cf2e1
...@@ -3456,7 +3456,7 @@ enum ADAPTIVE_KEY_MODE { ...@@ -3456,7 +3456,7 @@ enum ADAPTIVE_KEY_MODE {
LAYFLAT_MODE LAYFLAT_MODE
}; };
const int adaptive_keyboard_modes[] = { static const int adaptive_keyboard_modes[] = {
HOME_MODE, HOME_MODE,
/* WEB_BROWSER_MODE = 2, /* WEB_BROWSER_MODE = 2,
WEB_CONFERENCE_MODE = 3, */ WEB_CONFERENCE_MODE = 3, */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment