Changes in uspace/lib/usb/src/hc.c [56fd7cf:77ad86c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usb/src/hc.c
r56fd7cf r77ad86c 115 115 */ 116 116 int usb_hc_connection_initialize_from_device(usb_hc_connection_t *connection, 117 ddf_dev_t *device) 118 { 119 if (device == NULL) 117 const ddf_dev_t *device) 118 { 119 assert(connection); 120 121 if (device == NULL) { 120 122 return EBADMEM; 123 } 121 124 122 125 devman_handle_t hc_handle; 123 const int rc = usb_get_hc_by_handle(d df_dev_get_handle(device), &hc_handle);126 const int rc = usb_get_hc_by_handle(device->handle, &hc_handle); 124 127 if (rc == EOK) { 125 128 usb_hc_connection_initialize(connection, hc_handle);
Note:
See TracChangeset
for help on using the changeset viewer.