]> git.sur5r.net Git - u-boot/commitdiff
usb: kbd: select SYS_STDIO_DEREGISTER
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Wed, 21 Feb 2018 03:57:09 +0000 (03:57 +0000)
committerMarek Vasut <marex@denx.de>
Wed, 21 Feb 2018 19:28:15 +0000 (20:28 +0100)
If SYS_STDIO_DEREGISTER is not selected and USB_KEYBOARD is selected
U-Boot cannot be built due to missing function stdio_deregister_dev.

So USB_KEYBOARD should select SYS_STDIO_DEREGISTER.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/usb/Kconfig

index 7de41057ca1bbdb8752aed40b34bc26809de358c..4fbe172e05c87badc1555ff4fa52a79c913075d5 100644 (file)
@@ -71,6 +71,7 @@ config USB_STORAGE
 
 config USB_KEYBOARD
        bool "USB Keyboard support"
+       select SYS_STDIO_DEREGISTER
        ---help---
          Say Y here if you want to use a USB keyboard for U-Boot command line
          input.