Changes in uspace/lib/usb/src/ddfiface.c [56fd7cf:77ad86c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/ddfiface.c
r56fd7cf r77ad86c 68 68 { 69 69 assert(fun); 70 return usb_get_hc_by_handle( ddf_fun_get_handle(fun), handle);70 return usb_get_hc_by_handle(fun->handle, handle); 71 71 } 72 72 … … 82 82 83 83 if (handle != NULL) { 84 *handle = ddf_fun_get_handle(fun);84 *handle = fun->handle; 85 85 } 86 86 … … 99 99 { 100 100 assert(fun); 101 return usb_get_address_by_handle( ddf_fun_get_handle(fun), address);101 return usb_get_address_by_handle(fun->handle, address); 102 102 } 103 103 … … 116 116 usb_address_t *address) 117 117 { 118 const usb_hub_attached_device_t *device = ddf_fun_data_get(fun); 118 assert(fun); 119 assert(fun->driver_data); 120 const usb_hub_attached_device_t *device = fun->driver_data; 119 121 assert(device->fun == fun); 120 122 if (address)
Note:
See TracChangeset
for help on using the changeset viewer.