Changes in uspace/lib/usb/src/ddfiface.c [56fd7cf:e882e3a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/ddfiface.c
r56fd7cf re882e3a 33 33 * Implementations of DDF interfaces functions (actual implementation). 34 34 */ 35 36 35 #include <devman.h> 37 36 #include <async.h> … … 68 67 { 69 68 assert(fun); 70 return usb_get_hc_by_handle( ddf_fun_get_handle(fun), handle);69 return usb_get_hc_by_handle(fun->handle, handle); 71 70 } 72 71 … … 82 81 83 82 if (handle != NULL) { 84 *handle = ddf_fun_get_handle(fun);83 *handle = fun->handle; 85 84 } 86 85 … … 99 98 { 100 99 assert(fun); 101 return usb_get_address_by_handle( ddf_fun_get_handle(fun), address);100 return usb_get_address_by_handle(fun->handle, address); 102 101 } 103 102 … … 116 115 usb_address_t *address) 117 116 { 118 const usb_hub_attached_device_t *device = ddf_fun_data_get(fun); 117 assert(fun); 118 assert(fun->driver_data); 119 const usb_hub_attached_device_t *device = fun->driver_data; 119 120 assert(device->fun == fun); 120 121 if (address)
Note:
See TracChangeset
for help on using the changeset viewer.