aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/usb.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-10-16 13:40:42 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-10-16 16:30:15 -0400
commit277ea6f5d145f77d2374b9425016735c302811a0 (patch)
tree7e12c803d58c3c248066a179c9235f1922fb6eb6 /src/hw/usb.c
parent2e0c2ea74f1b02cb7a112b59643862f886608e97 (diff)
downloadseabios-277ea6f5d145f77d2374b9425016735c302811a0.tar.gz
ehci: Export ehci_realloc_pipe() instead of ehci_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 8551c4da..1714968d 100644
--- a/src/hw/usb.c
+++ b/src/hw/usb.c
@@ -38,7 +38,7 @@ usb_alloc_pipe(struct usbdevice_s *usbdev
case USB_TYPE_OHCI:
return ohci_realloc_pipe(usbdev, NULL, epdesc);
case USB_TYPE_EHCI:
- return ehci_alloc_pipe(usbdev, epdesc);
+ return ehci_realloc_pipe(usbdev, NULL, epdesc);
case USB_TYPE_XHCI:
return xhci_realloc_pipe(usbdev, NULL, epdesc);
}