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

2018-02-20 Thread Heinrich Schuchardt
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 
---
 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.
-- 
2.16.1

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


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

2018-02-21 Thread Marek Vasut
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 
> ---
>  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
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot