diff options
| author | Hans de Goede <[email protected]> | 2014-09-20 16:54:38 +0200 |
|---|---|---|
| committer | Marek Vasut <[email protected]> | 2014-10-06 14:50:43 +0200 |
| commit | 8a8a2257ec55a997d97edf6664249a628248fe01 (patch) | |
| tree | 703e51bac2512fe3bf2d171acf51444010fac5f3 /include | |
| parent | 32d019265d1f0c334f2f86407abf295d46bd2f4d (diff) | |
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 <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/usb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/usb.h b/include/usb.h index d9fedeeff7d..c355fbe4819 100644 --- a/include/usb.h +++ b/include/usb.h @@ -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 */ |
