Changeset 27ed734c in mainline for uspace/drv/bus/usb/usbmid/usbmid.c


Ignore:
Timestamp:
2011-10-31T13:06:57Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e07cbc0
Parents:
d25e0a4
Message:

usb: Rename get_address ⇒ get_my_address and remove redundant handle parameter.

If you want to know what address the device uses ask the device not host controller.

File:
1 edited

Legend:

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

    rd25e0a4 r27ed734c  
    6363static usb_iface_t child_usb_iface = {
    6464        .get_hc_handle = usb_iface_get_hc_handle_device_impl,
    65         .get_address = usb_iface_get_address_forward_impl,
    66         .get_interface = usb_iface_get_interface_impl
     65        .get_my_address = usb_iface_get_my_address_forward_impl,
     66        .get_interface = usb_iface_get_interface_impl,
    6767};
    6868
Note: See TracChangeset for help on using the changeset viewer.