Changeset f6b2a76 in mainline for uspace/lib/usbdev/src/devdrv.c


Ignore:
Timestamp:
2013-01-25T22:20:20Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c39e9fb
Parents:
ffa254f1
Message:

libusbdev: Add name getting wrapper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/src/devdrv.c

    rffa254f1 rf6b2a76  
    521521}
    522522
     523const char *usb_device_get_name(usb_device_t *usb_dev)
     524{
     525        assert(usb_dev);
     526        assert(usb_dev->ddf_dev);
     527        //TODO Handle case without ddf_dev
     528        return ddf_dev_get_name(usb_dev->ddf_dev);
     529}
     530
    523531async_exch_t * usb_device_bus_exchange_begin(usb_device_t *usb_dev)
    524532{
Note: See TracChangeset for help on using the changeset viewer.