Ignore:
File:
1 edited

Legend:

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

    ra6add7a r8ba18c6  
    3737#define USBMID_H_
    3838
    39 #include <ddf/driver.h>
     39#include <driver.h>
    4040#include <usb/usb.h>
    4141#include <usb/pipes.h>
     
    4444#define NAME "usbmid"
    4545
    46 /** USB MID device container. */
    4746typedef struct {
    4847        /** Device container. */
    49         ddf_dev_t *dev;
     48        device_t *dev;
    5049
    5150        /** Representation of USB wire. */
     
    5554} usbmid_device_t;
    5655
    57 
    58 /** Container for single interface in a MID device. */
    5956typedef struct {
    60         /** Function container. */
    61         ddf_fun_t *fun;
     57        /** Device container. */
     58        device_t *dev;
    6259
    6360        /** Interface number. */
     
    6562} usbmid_interface_t;
    6663
    67 usbmid_device_t *usbmid_device_create(ddf_dev_t *);
    68 usbmid_interface_t *usbmid_interface_create(ddf_fun_t *, int);
     64usbmid_device_t *usbmid_device_create(device_t *);
     65usbmid_interface_t *usbmid_interface_create(device_t *, int);
    6966bool usbmid_explore_device(usbmid_device_t *);
    7067int usbmid_spawn_interface_child(usbmid_device_t *,
Note: See TracChangeset for help on using the changeset viewer.