Changeset ee794529 in mainline for uspace/lib/usbhost/src/usb2_bus.c


Ignore:
Timestamp:
2017-10-22T16:38:19Z (6 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
89cefe78
Parents:
4594baa
Message:

Refactoring. Renamed functions in bus endpoint interface. Register/release is now register/unregister to prevent name collisions with use/release.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbhost/src/usb2_bus.c

    r4594baa ree794529  
    309309/** Release bandwidth reserved by the given endpoint.
    310310 */
    311 static int usb2_bus_release_ep(bus_t *bus_base, endpoint_t *ep)
     311static int usb2_bus_unregister_ep(bus_t *bus_base, endpoint_t *ep)
    312312{
    313313        usb2_bus_t *bus = bus_to_usb2_bus(bus_base);
     
    416416        .create_endpoint = usb2_bus_create_ep,
    417417        .find_endpoint = usb2_bus_find_ep,
    418         .release_endpoint = usb2_bus_release_ep,
     418        .unregister_endpoint = usb2_bus_unregister_ep,
    419419        .register_endpoint = usb2_bus_register_ep,
    420420        .request_address = usb2_bus_request_address,
Note: See TracChangeset for help on using the changeset viewer.