mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
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>
This commit is contained in:
committed by
Marek Vasut
parent
216db3af2c
commit
28dfa7d80d
@@ -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. */
|
||||
|
Reference in New Issue
Block a user