aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/macintosh/adbhid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/macintosh/adbhid.c b/drivers/macintosh/adbhid.c
index 8cce016b3d09..2766e4fc4ea8 100644
--- a/drivers/macintosh/adbhid.c
+++ b/drivers/macintosh/adbhid.c
@@ -282,7 +282,7 @@ static void
282adbhid_input_keycode(int id, int scancode, int repeat) 282adbhid_input_keycode(int id, int scancode, int repeat)
283{ 283{
284 struct adbhid *ahid = adbhid[id]; 284 struct adbhid *ahid = adbhid[id];
285 int keycode, up_flag; 285 int keycode, up_flag, key;
286 286
287 keycode = scancode & 0x7f; 287 keycode = scancode & 0x7f;
288 up_flag = scancode & 0x80; 288 up_flag = scancode & 0x80;