Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/ohci/ohci.c

    rb5111c46 r7de1988c  
    3434 */
    3535
     36/* XXX Fix this */
     37#define _DDF_DATA_IMPLANT
     38
    3639#include <errno.h>
    3740#include <str_error.h>
     
    162165
    163166        ddf_fun_set_ops(instance->hc_fun, &hc_ops);
     167        ddf_fun_data_implant(instance->hc_fun, &instance->hc);
    164168
    165169        instance->rh_fun = ddf_fun_create(device, fun_inner, "ohci_rh");
     
    210214        }
    211215
    212         rc = hc_init(&instance->hc, instance->hc_fun, &regs, interrupts);
     216        rc = hc_init(&instance->hc, &regs, interrupts);
    213217        if (rc != EOK) {
    214218                usb_log_error("Failed to init ohci_hcd: %s.\n", str_error(rc));
Note: See TracChangeset for help on using the changeset viewer.