Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/generic/hiddev.c

    rd8d100c r350274a  
    4646#include "usbhid.h"
    4747
    48 
    49 
    5048const usb_endpoint_description_t usb_hid_generic_poll_endpoint_description = {
    5149        .transfer_type = USB_TRANSFER_INTERRUPT,
     
    5856
    5957const char *HID_GENERIC_FUN_NAME = "hid";
    60 const char *HID_GENERIC_CLASS_NAME = "hid";
     58const char *HID_GENERIC_CATEGORY = "hid";
    6159
    6260
     
    192190        /* Create the exposed function. */
    193191        usb_log_debug("Creating DDF function %s...\n", HID_GENERIC_FUN_NAME);
    194         ddf_fun_t *fun = usb_device_ddf_fun_create(hid_dev->usb_dev,
    195             fun_exposed, HID_GENERIC_FUN_NAME);
     192        ddf_fun_t *fun = ddf_fun_create(hid_dev->usb_dev->ddf_dev, fun_exposed,
     193            HID_GENERIC_FUN_NAME);
    196194        if (fun == NULL) {
    197195                usb_log_error("Could not create DDF function node.\n");
     
    223221        return true;
    224222}
     223
    225224/**
    226225 * @}
Note: See TracChangeset for help on using the changeset viewer.