summaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/input
diff options
context:
space:
mode:
authorSepherosa Ziehau <sephe@FreeBSD.org>2017-05-05 03:28:30 +0000
committerSepherosa Ziehau <sephe@FreeBSD.org>2017-05-05 03:28:30 +0000
commit786e5b94b954cc6ff42e202d902b0f5a34635dcc (patch)
tree0db5483f8bb00ede30dd53d8e9633da2f2d017c9 /sys/dev/hyperv/input
parent63febe64f15c2b858fefc33c96b7c617274e0a19 (diff)
Notes
Diffstat (limited to 'sys/dev/hyperv/input')
-rw-r--r--sys/dev/hyperv/input/hv_kbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hyperv/input/hv_kbd.c b/sys/dev/hyperv/input/hv_kbd.c
index bc9ab111afdf..38b0c9598d9c 100644
--- a/sys/dev/hyperv/input/hv_kbd.c
+++ b/sys/dev/hyperv/input/hv_kbd.c
@@ -198,7 +198,7 @@ static void
hvkbd_do_poll(hv_kbd_sc *sc, uint8_t wait)
{
while (!hv_kbd_prod_is_ready(sc)) {
- hv_kbd_read_channel(NULL, sc);
+ hv_kbd_read_channel(sc->hs_chan, sc);
if (!wait)
break;
}