Changeset 3562cd18 in mainline for uspace/drv/bus/usb/usbmid/usbmid.c


Ignore:
Timestamp:
2011-10-31T10:07:51Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ae754e5f
Parents:
eea3e39
Message:

libusb: Remove usb_iface_get_hc_handle_hub_child_impl.

Rename usb_iface_get_hc_handle_hub_impl ⇒ usb_iface_get_hc_handle_device_impl.
This was just a hidden duplicity, the only difference was using EXCHANGE_SERIALIZE instead of EXCHANGE_ATOMIC.
All USB devices, but root hubs, ask their parents for hc handle.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbmid/usbmid.c

    reea3e39 r3562cd18  
    6262/** DDF interface of the child - interface function. */
    6363static usb_iface_t child_usb_iface = {
    64         .get_hc_handle = usb_iface_get_hc_handle_hub_child_impl,
     64        .get_hc_handle = usb_iface_get_hc_handle_device_impl,
    6565        .get_address = usb_iface_get_address_forward_impl,
    6666        .get_interface = usb_iface_get_interface_impl
Note: See TracChangeset for help on using the changeset viewer.