Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbmid/explore.c

    rfeeac0d r56fd7cf  
    5656static bool interface_in_list(const list_t *list, int interface_no)
    5757{
    58         list_foreach(*list, link, usbmid_interface_t, iface) {
     58        list_foreach(*list, l) {
     59                usbmid_interface_t *iface = usbmid_interface_from_link(l);
    5960                if (iface->interface_no == interface_no) {
    6061                        return true;
     
    189190
    190191        /* Start child function for every interface. */
    191         list_foreach(usb_mid->interface_list, link, usbmid_interface_t, iface) {
     192        list_foreach(usb_mid->interface_list, link) {
     193                usbmid_interface_t *iface = usbmid_interface_from_link(link);
     194
    192195                usb_log_info("Creating child for interface %d (%s).\n",
    193196                    iface->interface_no,
Note: See TracChangeset for help on using the changeset viewer.