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