hv_kbd: Fix build with EVDEV_SUPPORT kernel option disabled.
Reported by: olivier
MFC with: e4643aa4c4
This commit is contained in:
parent
557c4521bb
commit
55eb41bb1f
@ -269,9 +269,8 @@ hvkbd_read_char_locked(keyboard_t *kbd, int wait)
|
||||
uint32_t action;
|
||||
keystroke ks;
|
||||
hv_kbd_sc *sc = kbd->kb_data;
|
||||
#ifdef EVDEV_SUPPORT
|
||||
int keycode;
|
||||
#endif
|
||||
|
||||
HVKBD_LOCK_ASSERT();
|
||||
|
||||
if (!KBD_IS_ACTIVE(kbd) || !hv_kbd_prod_is_ready(sc))
|
||||
|
Loading…
Reference in New Issue
Block a user