Ignore:
File:
1 edited

Legend:

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

    r56fd7cf r4a01dcc  
    100100        async_sess_t *sess;
    101101        do {
    102                 sess = devman_device_connect(EXCHANGE_SERIALIZE,
    103                     ddf_fun_get_handle(hc_dev), 0);
     102                sess = devman_device_connect(EXCHANGE_SERIALIZE, hc_dev->handle, 0);
    104103        } while (!sess);
    105104        async_hangup(sess);
     
    108107
    109108        usb_hc_connection_t hc_conn;
    110         usb_hc_connection_initialize(&hc_conn, ddf_fun_get_handle(hc_dev));
     109        usb_hc_connection_initialize(&hc_conn, hc_dev->handle);
    111110
    112111        rc = usb_hc_connection_open(&hc_conn);
     
    114113
    115114        ddf_fun_t *hub_dev;
    116         rc = usb_hc_new_device_wrapper(ddf_fun_get_dev(hc_dev), &hc_conn, USB_SPEED_FULL,
     115        rc = usb_hc_new_device_wrapper(hc_dev->dev, &hc_conn, USB_SPEED_FULL,
    117116            pretend_port_rest, NULL, NULL, &rh_ops, hc_dev, &hub_dev);
    118117        if (rc != EOK) {
     
    124123
    125124        usb_log_info("Created root hub function (handle %zu).\n",
    126             (size_t) ddf_fun_get_handle(hub_dev));
     125            (size_t) hub_dev->handle);
    127126
    128127        return 0;
Note: See TracChangeset for help on using the changeset viewer.