Changeset 1dc4a5e in mainline for uspace/drv/bus/usb/usbhid/kbd/kbddev.c
- Timestamp:
- 2011-08-18T13:34:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 763e0cd
- Parents:
- 99ac5cf
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/kbd/kbddev.c
r99ac5cf r1dc4a5e 102 102 103 103 const char *HID_KBD_FUN_NAME = "keyboard"; 104 const char *HID_KBD_C LASS_NAME = "keyboard";104 const char *HID_KBD_CATEGORY_NAME = "keyboard"; 105 105 106 106 static void usb_kbd_set_led(usb_hid_dev_t *hid_dev, usb_kbd_t *kbd_dev); … … 551 551 HID_KBD_FUN_NAME, fun->handle); 552 552 553 usb_log_debug("Adding DDF function to c lass%s...\n",553 usb_log_debug("Adding DDF function to category %s...\n", 554 554 HID_KBD_CLASS_NAME); 555 rc = ddf_fun_add_to_c lass(fun, HID_KBD_CLASS_NAME);555 rc = ddf_fun_add_to_category(fun, HID_KBD_CATEGORY_NAME); 556 556 if (rc != EOK) { 557 557 usb_log_error( 558 "Could not add DDF function to c lass%s: %s.\n",558 "Could not add DDF function to category %s: %s.\n", 559 559 HID_KBD_CLASS_NAME, str_error(rc)); 560 560 ddf_fun_destroy(fun);
Note:
See TracChangeset
for help on using the changeset viewer.