diff options
Diffstat (limited to 'common')
-rw-r--r-- | common/usb_kbd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/usb_kbd.c b/common/usb_kbd.c index d73a5d132b..04832b3227 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -472,9 +472,9 @@ int drv_usb_kbd_init(void) USB_KBD_PRINTF("USB KBD: found set up device.\n"); old_dev = stdio_get_by_name(DEVNAME); if (old_dev) { - /* Already registered, just return ok. */ + /* Already registered, remove the old one */ USB_KBD_PRINTF("USB KBD: is already registered.\n"); - return 1; + usb_kbd_deregister(); } /* Register the keyboard */ |