Changes in uspace/lib/usb/src/ddfiface.c [56bdd9a4:2c202c5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/ddfiface.c
r56bdd9a4 r2c202c5 44 44 #include <assert.h> 45 45 46 #include <usb/dev.h> 47 46 48 /** DDF interface for USB device, implementation for typical hub. */ 47 49 usb_iface_t usb_iface_hub_impl = { … … 66 68 { 67 69 assert(fun); 68 return usb_ hc_find(fun->handle, handle);70 return usb_get_hc_by_handle(fun->handle, handle); 69 71 } 70 72 … … 134 136 assert(fun); 135 137 assert(fun->driver_data); 136 usb_hub_attached_device_t *device = fun->driver_data;138 const usb_hub_attached_device_t *device = fun->driver_data; 137 139 assert(device->fun == fun); 138 140 if (address)
Note:
See TracChangeset
for help on using the changeset viewer.