Changeset 229629d in mainline for uspace/drv/bus/usb/usbmid/usbmid.h


Ignore:
Timestamp:
2011-10-13T21:24:40Z (14 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
344a0ac
Parents:
359d96f
Message:

usbmid: Use new usb_mid_t to store all the interfaces and functions.

File:
1 edited

Legend:

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

    r359d96f r229629d  
    5858} usbmid_interface_t;
    5959
     60/** Container to hold all the function pointers */
     61typedef struct usb_mid {
     62        ddf_fun_t *ctl_fun;
     63        list_t interface_list;
     64} usb_mid_t;
     65
    6066bool usbmid_explore_device(usb_device_t *);
    6167int usbmid_spawn_interface_child(usb_device_t *, usbmid_interface_t *,
Note: See TracChangeset for help on using the changeset viewer.