usb: kbd: Allow "usb reset" to continue when an usb kbd is used

Use the new force parameter to make the stdio_deregister succeed, replacing
stdin with a nulldev, and assume that the usb keyboard will come back after
the reset.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Hans de Goede
2014-09-20 16:54:38 +02:00
committed by Marek Vasut
parent 32d019265d
commit 8a8a2257ec
3 changed files with 7 additions and 7 deletions

View File

@@ -216,7 +216,7 @@ int usb_host_eth_scan(int mode);
#ifdef CONFIG_USB_KEYBOARD
int drv_usb_kbd_init(void);
int usb_kbd_deregister(void);
int usb_kbd_deregister(int force);
#endif
/* routines */