summaryrefslogtreecommitdiff
path: root/hw/kdrive/vxworks/vxkbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/kdrive/vxworks/vxkbd.c')
-rw-r--r--hw/kdrive/vxworks/vxkbd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/kdrive/vxworks/vxkbd.c b/hw/kdrive/vxworks/vxkbd.c
index be528c78a..ac83ef729 100644
--- a/hw/kdrive/vxworks/vxkbd.c
+++ b/hw/kdrive/vxworks/vxkbd.c
@@ -232,7 +232,7 @@ VxWorksKeyboardRead (int fd)
void
VxWorksKeyboardLeds (int leds)
{
- DeviceIntPtr pKeyboard = (DeviceIntPtr) LookupKeyboardDevice ();
+ DeviceIntPtr pKeyboard = inputInfo.keyboard;
KeyboardCtrl *ctrl = &pKeyboard->kbdfeed->ctrl;
led_ioctl_info led_info;
int i;