projects
/
seabios.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add stubs for USB OHCI support.
[seabios.git]
/
src
/
usb-hid.c
diff --git
a/src/usb-hid.c
b/src/usb-hid.c
index 7e5b3098fef7b38378450c4351d8010b3143ad02..6deb2b09e87b641cc38401766534cf3dee019f4f 100644
(file)
--- a/
src/usb-hid.c
+++ b/
src/usb-hid.c
@@
-10,7
+10,7
@@
#include "usb.h" // usb_ctrlrequest
#include "biosvar.h" // GET_GLOBAL
#include "usb.h" // usb_ctrlrequest
#include "biosvar.h" // GET_GLOBAL
-
void
*keyboard_pipe VAR16VISIBLE;
+
struct usb_pipe
*keyboard_pipe VAR16VISIBLE;
/****************************************************************
/****************************************************************
@@
-78,7
+78,7
@@
usb_keyboard_init(u32 endp, struct usb_interface_descriptor *iface, int imax)
if (ret)
return -1;
if (ret)
return -1;
-
void
*pipe = alloc_intr_pipe(inendp, epdesc->bInterval);
+
struct usb_pipe
*pipe = alloc_intr_pipe(inendp, epdesc->bInterval);
if (!pipe)
return -1;
keyboard_pipe = pipe;
if (!pipe)
return -1;
keyboard_pipe = pipe;