aboutsummaryrefslogtreecommitdiff
path: root/src/hw/usb.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-10-16 13:36:41 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-10-16 16:30:15 -0400
commit2e0c2ea74f1b02cb7a112b59643862f886608e97 (patch)
tree5780dcd94df9d1144af9319feff6d57a67a1c98f /src/hw/usb.c
parent89452cc2d65f12bab28a6355903e134538e67484 (diff)
downloadseabios-hppa-2e0c2ea74f1b02cb7a112b59643862f886608e97.zip
seabios-hppa-2e0c2ea74f1b02cb7a112b59643862f886608e97.tar.gz
seabios-hppa-2e0c2ea74f1b02cb7a112b59643862f886608e97.tar.bz2
ohci: Export ohci_realloc_pipe() instead of ohci_alloc_pipe()
Support alloc, update, and free from the single exported function. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/hw/usb.c')
-rw-r--r--src/hw/usb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hw/usb.c b/src/hw/usb.c
index 5110053..8551c4d 100644
--- a/src/hw/usb.c
+++ b/src/hw/usb.c
@@ -36,7 +36,7 @@ usb_alloc_pipe(struct usbdevice_s *usbdev
case USB_TYPE_UHCI:
return uhci_realloc_pipe(usbdev, NULL, epdesc);
case USB_TYPE_OHCI:
- return ohci_alloc_pipe(usbdev, epdesc);
+ return ohci_realloc_pipe(usbdev, NULL, epdesc);
case USB_TYPE_EHCI:
return ehci_alloc_pipe(usbdev, epdesc);
case USB_TYPE_XHCI: