Ignore:
File:
1 edited

Legend:

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

    r6883abfa r7fc260ff  
    3636#define LIBUSBDEV_DRIVER_H_
    3737
    38 #include <usb/hc.h>
    39 #include <usb/dev/usb_device_connection.h>
    4038#include <usb/dev/pipes.h>
    4139
     
    7472/** USB device structure. */
    7573typedef struct {
    76         /** Connection to USB hc, used by wire and arbitrary requests. */
    77         usb_hc_connection_t hc_conn;
    7874        /** Connection backing the pipes.
    7975         * Typically, you will not need to use this attribute at all.
     
    173169void usb_device_release_descriptors(usb_device_descriptors_t *);
    174170
    175 int usb_device_create_pipes(usb_device_connection_t *,
     171int usb_device_create_pipes(const ddf_dev_t *, usb_device_connection_t *,
    176172    const usb_endpoint_description_t **, const uint8_t *, size_t, int, int,
    177173    usb_endpoint_mapping_t **, size_t *);
    178 void usb_device_destroy_pipes(usb_endpoint_mapping_t *, size_t);
     174int usb_device_destroy_pipes(const ddf_dev_t *, usb_endpoint_mapping_t *, size_t);
    179175
    180176void * usb_device_data_alloc(usb_device_t *, size_t);
Note: See TracChangeset for help on using the changeset viewer.