Ignore:
File:
1 edited

Legend:

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

    r350274a rd8d100c  
    4646#include "usbhid.h"
    4747
     48
     49
    4850const usb_endpoint_description_t usb_hid_generic_poll_endpoint_description = {
    4951        .transfer_type = USB_TRANSFER_INTERRUPT,
     
    5658
    5759const char *HID_GENERIC_FUN_NAME = "hid";
    58 const char *HID_GENERIC_CATEGORY = "hid";
     60const char *HID_GENERIC_CLASS_NAME = "hid";
    5961
    6062
     
    190192        /* Create the exposed function. */
    191193        usb_log_debug("Creating DDF function %s...\n", 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);
     194        ddf_fun_t *fun = usb_device_ddf_fun_create(hid_dev->usb_dev,
     195            fun_exposed, HID_GENERIC_FUN_NAME);
    194196        if (fun == NULL) {
    195197                usb_log_error("Could not create DDF function node.\n");
     
    221223        return true;
    222224}
    223 
    224225/**
    225226 * @}
Note: See TracChangeset for help on using the changeset viewer.