From e91a411938afcbdf191df52448216e41bbcbd288 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Sat, 23 Nov 2019 18:15:22 +0100 Subject: 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 Reviewed-by: Simon Glass --- common/usb_kbd.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'common/usb_kbd.c') diff --git a/common/usb_kbd.c b/common/usb_kbd.c index d6b340b..a6221ef 100644 --- a/common/usb_kbd.c +++ b/common/usb_kbd.c @@ -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; -- cgit v1.1