Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/usb/src/ddfiface.c

    r56fd7cf re882e3a  
    3333 * Implementations of DDF interfaces functions (actual implementation).
    3434 */
    35 
    3635#include <devman.h>
    3736#include <async.h>
     
    6867{
    6968        assert(fun);
    70         return usb_get_hc_by_handle(ddf_fun_get_handle(fun), handle);
     69        return usb_get_hc_by_handle(fun->handle, handle);
    7170}
    7271
     
    8281
    8382        if (handle != NULL) {
    84                 *handle = ddf_fun_get_handle(fun);
     83                *handle = fun->handle;
    8584        }
    8685
     
    9998{
    10099        assert(fun);
    101         return usb_get_address_by_handle(ddf_fun_get_handle(fun), address);
     100        return usb_get_address_by_handle(fun->handle, address);
    102101}
    103102
     
    116115    usb_address_t *address)
    117116{
    118         const usb_hub_attached_device_t *device = ddf_fun_data_get(fun);
     117        assert(fun);
     118        assert(fun->driver_data);
     119        const usb_hub_attached_device_t *device = fun->driver_data;
    119120        assert(device->fun == fun);
    120121        if (address)
Note: See TracChangeset for help on using the changeset viewer.