diff --git a/sys/dev/vkbd/vkbd.c b/sys/dev/vkbd/vkbd.c index 9f7ccd6b1914..fdd244ec2525 100644 --- a/sys/dev/vkbd/vkbd.c +++ b/sys/dev/vkbd/vkbd.c @@ -344,7 +344,7 @@ vkbd_dev_read(struct cdev *dev, struct uio *uio, int flag) state->ks_flags &= ~READ; VKBD_UNLOCK(state); - + return (error); } @@ -649,7 +649,7 @@ vkbd_init(int unit, keyboard_t **kbdp, void *arg, int flags) imin(fkeymap_size*sizeof(fkeymap[0]), sizeof(fkey_tab))); kbd_set_maps(kbd, keymap, accmap, fkeymap, fkeymap_size); kbd->kb_data = (void *)state; - + KBD_FOUND_DEVICE(kbd); KBD_PROBE_DONE(kbd); @@ -1071,7 +1071,7 @@ vkbd_check_char(keyboard_t *kbd) return (FALSE); state = (vkbd_state_t *) kbd->kb_data; - + VKBD_LOCK(state); if (!(state->ks_flags & COMPOSE) && (state->ks_composed_char > 0)) ready = TRUE; @@ -1377,4 +1377,3 @@ vkbd_modevent(module_t mod, int type, void *data) } DEV_MODULE(vkbd, vkbd_modevent, NULL); - diff --git a/sys/dev/vkbd/vkbd_var.h b/sys/dev/vkbd/vkbd_var.h index d5f3ec81d03b..73b7466498b2 100644 --- a/sys/dev/vkbd/vkbd_var.h +++ b/sys/dev/vkbd/vkbd_var.h @@ -50,4 +50,3 @@ typedef struct vkbd_status vkbd_status_t; typedef struct vkbd_status * vkbd_status_p; #endif /* ndef _VKBD_VAR_H_ */ -