mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 16:22:36 +02:00
usb: kbd: move USB_KBD_BOOT_REPORT_SIZE to usb.h
Move constant USB_KBD_BOOT_REPORT_SIZE. This allows us to reuse it. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
committed by
Marek Vasut
parent
87e91bccae
commit
e91a411938
@@ -95,12 +95,6 @@ static const u8 usb_special_keys[] = {
|
||||
#define USB_KBD_LEDMASK \
|
||||
(USB_KBD_NUMLOCK | USB_KBD_CAPSLOCK | USB_KBD_SCROLLLOCK)
|
||||
|
||||
/*
|
||||
* USB Keyboard reports are 8 bytes in boot protocol.
|
||||
* Appendix B of HID Device Class Definition 1.11
|
||||
*/
|
||||
#define USB_KBD_BOOT_REPORT_SIZE 8
|
||||
|
||||
struct usb_kbd_pdata {
|
||||
unsigned long intpipe;
|
||||
int intpktsize;
|
||||
|
Reference in New Issue
Block a user