Ignore:
File:
1 edited

Legend:

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

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