Changeset 8b8c164 in mainline for uspace/drv/bus/usb/ohci/ohci_bus.c
- Timestamp:
- 2017-10-27T15:22:06Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
- Children:
- 58ac3ec
- Parents:
- 7010861
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/ohci_bus.c
r7010861 r8b8c164 115 115 116 116 117 static int ohci_register_ep(bus_t *bus_base, endpoint_t *ep, const usb_endpoint_desc_t *desc)117 static int ohci_register_ep(bus_t *bus_base, device_t *dev, endpoint_t *ep, const usb_endpoint_desc_t *desc) 118 118 { 119 119 ohci_bus_t *bus = (ohci_bus_t *) bus_base; 120 120 ohci_endpoint_t *ohci_ep = ohci_endpoint_get(ep); 121 121 122 const int err = bus->parent_ops.register_endpoint(bus_base, ep, desc);122 const int err = bus->parent_ops.register_endpoint(bus_base, dev, ep, desc); 123 123 if (err) 124 124 return err;
Note:
See TracChangeset
for help on using the changeset viewer.