Cosmetical change.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12382 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2005-04-13 23:23:02 +00:00
parent b51d2e941a
commit e66be4a3cf
@@ -151,14 +151,14 @@ keyboard_open(const char *name, uint32 flags, void **_cookie)
*_cookie = NULL; *_cookie = NULL;
return install_io_interrupt_handler(1, &handle_keyboard_interrupt, NULL, 0); return install_io_interrupt_handler(INT_PS2_KEYBOARD, &handle_keyboard_interrupt, NULL, 0);
} }
status_t status_t
keyboard_close(void *cookie) keyboard_close(void *cookie)
{ {
remove_io_interrupt_handler(1, &handle_keyboard_interrupt, NULL); remove_io_interrupt_handler(INT_PS2_KEYBOARD, &handle_keyboard_interrupt, NULL);
delete_packet_buffer(sKeyBuffer); delete_packet_buffer(sKeyBuffer);
delete_sem(sKeyboardSem); delete_sem(sKeyboardSem);