Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/vhc/connhost.c

    r56fd7cf r02fc5c4  
    4242
    4343#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)
    4545#define VHC_DATA(vhc, fun) \
    4646        vhc_data_t *vhc = GET_VHC_DATA(fun); assert(vhc->magic == 0xdeadbeef)
     
    483483        VHC_DATA(vhc, root_hub_fun);
    484484
    485         *handle = ddf_fun_get_handle(vhc->hc_fun);
     485        *handle = vhc->hc_fun->handle;
    486486
    487487        return EOK;
     
    492492        VHC_DATA(vhc, root_hub_fun);
    493493
    494         devman_handle_t handle = ddf_fun_get_handle(root_hub_fun);
     494        devman_handle_t handle = root_hub_fun->handle;
    495495
    496496        usb_log_debug("tell_address_rh(handle=%" PRIun ")\n", handle);
Note: See TracChangeset for help on using the changeset viewer.