Changeset 4ca778b in mainline for uspace/lib/usbdev/include/usb/dev


Ignore:
Timestamp:
2013-01-27T15:39:10Z (12 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2745176
Parents:
0eb2a0f
Message:

usbmid: Use initialized parent to get address and hc handle.

Remove forwarding helpers from libusb.
Remove unused headers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usbdev/include/usb/dev/device.h

    r0eb2a0f r4ca778b  
    5252typedef struct usb_device usb_device_t;
    5353
     54/* DDF parts */
    5455int usb_device_create_ddf(ddf_dev_t *, const usb_endpoint_description_t **, const char **);
    5556void usb_device_destroy_ddf(ddf_dev_t *);
     57
     58static inline usb_device_t *usb_device_get(ddf_dev_t *dev)
     59{
     60        assert(dev);
     61        return ddf_dev_data_get(dev);
     62}
     63
    5664
    5765usb_device_t * usb_device_create(devman_handle_t);
     
    8795void * usb_device_data_get(usb_device_t *);
    8896
     97/* Legacy support */
     98usb_address_t usb_device_address(usb_device_t *);
     99devman_handle_t usb_device_hc_handle(usb_device_t*);
     100
    89101#endif
    90102/**
Note: See TracChangeset for help on using the changeset viewer.