Changes in uspace/drv/bus/usb/vhc/connhost.c [56fd7cf:02fc5c4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/vhc/connhost.c
r56fd7cf r02fc5c4 42 42 43 43 #define GET_VHC_DATA(fun) \ 44 ((vhc_data_t *) ddf_dev_data_get(ddf_fun_get_dev(fun)))44 ((vhc_data_t *)fun->dev->driver_data) 45 45 #define VHC_DATA(vhc, fun) \ 46 46 vhc_data_t *vhc = GET_VHC_DATA(fun); assert(vhc->magic == 0xdeadbeef) … … 483 483 VHC_DATA(vhc, root_hub_fun); 484 484 485 *handle = ddf_fun_get_handle(vhc->hc_fun);485 *handle = vhc->hc_fun->handle; 486 486 487 487 return EOK; … … 492 492 VHC_DATA(vhc, root_hub_fun); 493 493 494 devman_handle_t handle = ddf_fun_get_handle(root_hub_fun);494 devman_handle_t handle = root_hub_fun->handle; 495 495 496 496 usb_log_debug("tell_address_rh(handle=%" PRIun ")\n", handle);
Note:
See TracChangeset
for help on using the changeset viewer.