Changes in uspace/drv/usbmid/usbmid.h [8ba18c6:a6add7a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbmid/usbmid.h
r8ba18c6 ra6add7a 37 37 #define USBMID_H_ 38 38 39 #include <d river.h>39 #include <ddf/driver.h> 40 40 #include <usb/usb.h> 41 41 #include <usb/pipes.h> … … 44 44 #define NAME "usbmid" 45 45 46 /** USB MID device container. */ 46 47 typedef struct { 47 48 /** Device container. */ 48 d evice_t *dev;49 ddf_dev_t *dev; 49 50 50 51 /** Representation of USB wire. */ … … 54 55 } usbmid_device_t; 55 56 57 58 /** Container for single interface in a MID device. */ 56 59 typedef struct { 57 /** Devicecontainer. */58 d evice_t *dev;60 /** Function container. */ 61 ddf_fun_t *fun; 59 62 60 63 /** Interface number. */ … … 62 65 } usbmid_interface_t; 63 66 64 usbmid_device_t *usbmid_device_create(d evice_t *);65 usbmid_interface_t *usbmid_interface_create(d evice_t *, int);67 usbmid_device_t *usbmid_device_create(ddf_dev_t *); 68 usbmid_interface_t *usbmid_interface_create(ddf_fun_t *, int); 66 69 bool usbmid_explore_device(usbmid_device_t *); 67 70 int usbmid_spawn_interface_child(usbmid_device_t *,
Note:
See TracChangeset
for help on using the changeset viewer.