X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=src%2Fusb-hid.c;h=6deb2b09e87b641cc38401766534cf3dee019f4f;hb=59f02834f38c63be537f63a702c69b68af913bfa;hp=7e5b3098fef7b38378450c4351d8010b3143ad02;hpb=91031edcb2a6adf2510478bc81a4df68c5e3daf2;p=seabios.git diff --git a/src/usb-hid.c b/src/usb-hid.c index 7e5b309..6deb2b0 100644 --- a/src/usb-hid.c +++ b/src/usb-hid.c @@ -10,7 +10,7 @@ #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; - 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;