Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbhid/kbd/kbddev.c

    r378bf85 r56fd7cf  
    103103
    104104const char *HID_KBD_FUN_NAME = "keyboard";
    105 const char *HID_KBD_CATEGORY = "keyboard";
     105const char *HID_KBD_CATEGORY_NAME = "keyboard";
    106106
    107107static void usb_kbd_set_led(usb_hid_dev_t *hid_dev, usb_kbd_t *kbd_dev);
     
    513513
    514514        usb_log_debug("Adding DDF function to category %s...\n",
    515             HID_KBD_CATEGORY);
    516         rc = ddf_fun_add_to_category(fun, HID_KBD_CATEGORY);
     515            HID_KBD_CLASS_NAME);
     516        rc = ddf_fun_add_to_category(fun, HID_KBD_CATEGORY_NAME);
    517517        if (rc != EOK) {
    518518                usb_log_error(
    519519                    "Could not add DDF function to category %s: %s.\n",
    520                     HID_KBD_CATEGORY, str_error(rc));
     520                    HID_KBD_CLASS_NAME, str_error(rc));
    521521                if (ddf_fun_unbind(fun) == EOK) {
    522522                        ddf_fun_destroy(fun);
Note: See TracChangeset for help on using the changeset viewer.