diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2019-11-23 18:15:19 +0100 |
---|---|---|
committer | Marek Vasut <marek.vasut+renesas@gmail.com> | 2019-11-25 13:28:53 +0100 |
commit | 28dfa7d80d8ddf7ef795f518230964d2c393b25b (patch) | |
tree | ba5c7342521ff5508b50ef32a6a7b96fd570eaa8 /common/usb_kbd.c | |
parent | 216db3af2c31303ba2388b51fa064693b8c47ac2 (diff) | |
download | u-boot-28dfa7d80d8ddf7ef795f518230964d2c393b25b.tar.gz u-boot-28dfa7d80d8ddf7ef795f518230964d2c393b25b.tar.bz2 u-boot-28dfa7d80d8ddf7ef795f518230964d2c393b25b.zip |
usb: kbd: signature of usb_kbd_put_queue()
usb_kbd_buffer is defined as u8[]. So let usb_kbd_put_queue() use u8 as
type of the parameter for the new byte.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'common/usb_kbd.c')
-rw-r--r-- | common/usb_kbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/usb_kbd.c b/common/usb_kbd.c index 8c09e61f45..e4711eb655 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -127,7 +127,7 @@ extern int __maybe_unused net_busy_flag; static unsigned long __maybe_unused kbd_testc_tms; /* Puts character in the queue and sets up the in and out pointer. */ -static void usb_kbd_put_queue(struct usb_kbd_pdata *data, char c) +static void usb_kbd_put_queue(struct usb_kbd_pdata *data, u8 c) { if (data->usb_in_pointer == USB_KBD_BUFFER_LEN - 1) { /* Check for buffer full. */ |