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