Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/usbmid/usbmid.h

    r8ba18c6 ra6add7a  
    3737#define USBMID_H_
    3838
    39 #include <driver.h>
     39#include <ddf/driver.h>
    4040#include <usb/usb.h>
    4141#include <usb/pipes.h>
     
    4444#define NAME "usbmid"
    4545
     46/** USB MID device container. */
    4647typedef struct {
    4748        /** Device container. */
    48         device_t *dev;
     49        ddf_dev_t *dev;
    4950
    5051        /** Representation of USB wire. */
     
    5455} usbmid_device_t;
    5556
     57
     58/** Container for single interface in a MID device. */
    5659typedef struct {
    57         /** Device container. */
    58         device_t *dev;
     60        /** Function container. */
     61        ddf_fun_t *fun;
    5962
    6063        /** Interface number. */
     
    6265} usbmid_interface_t;
    6366
    64 usbmid_device_t *usbmid_device_create(device_t *);
    65 usbmid_interface_t *usbmid_interface_create(device_t *, int);
     67usbmid_device_t *usbmid_device_create(ddf_dev_t *);
     68usbmid_interface_t *usbmid_interface_create(ddf_fun_t *, int);
    6669bool usbmid_explore_device(usbmid_device_t *);
    6770int usbmid_spawn_interface_child(usbmid_device_t *,
Note: See TracChangeset for help on using the changeset viewer.