[U-Boot] [PATCH 1/1] usb: kbd: select SYS_STDIO_DEREGISTER

Marek Vasut marex at denx.de
Wed Feb 21 19:23:06 UTC 2018


On 02/21/2018 04:57 AM, Heinrich Schuchardt wrote:
> 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 at gmx.de>
> ---
>  drivers/usb/Kconfig | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/drivers/usb/Kconfig b/drivers/usb/Kconfig
> index 7de41057ca1..4fbe172e05c 100644
> --- a/drivers/usb/Kconfig
> +++ b/drivers/usb/Kconfig
> @@ -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.
> 
Applied, thanks

-- 
Best regards,
Marek Vasut


More information about the U-Boot mailing list