Changes in uspace/drv/bus/usb/usbmid/explore.c [56fd7cf:feeac0d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbmid/explore.c
r56fd7cf rfeeac0d 56 56 static bool interface_in_list(const list_t *list, int interface_no) 57 57 { 58 list_foreach(*list, l) { 59 usbmid_interface_t *iface = usbmid_interface_from_link(l); 58 list_foreach(*list, link, usbmid_interface_t, iface) { 60 59 if (iface->interface_no == interface_no) { 61 60 return true; … … 190 189 191 190 /* Start child function for every interface. */ 192 list_foreach(usb_mid->interface_list, link) { 193 usbmid_interface_t *iface = usbmid_interface_from_link(link); 194 191 list_foreach(usb_mid->interface_list, link, usbmid_interface_t, iface) { 195 192 usb_log_info("Creating child for interface %d (%s).\n", 196 193 iface->interface_no,
Note:
See TracChangeset
for help on using the changeset viewer.