Changes in uspace/drv/bus/usb/usbhid/generic/hiddev.c [350274a:d8d100c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/generic/hiddev.c
r350274a rd8d100c 46 46 #include "usbhid.h" 47 47 48 49 48 50 const usb_endpoint_description_t usb_hid_generic_poll_endpoint_description = { 49 51 .transfer_type = USB_TRANSFER_INTERRUPT, … … 56 58 57 59 const char *HID_GENERIC_FUN_NAME = "hid"; 58 const char *HID_GENERIC_C ATEGORY= "hid";60 const char *HID_GENERIC_CLASS_NAME = "hid"; 59 61 60 62 … … 190 192 /* Create the exposed function. */ 191 193 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); 194 196 if (fun == NULL) { 195 197 usb_log_error("Could not create DDF function node.\n"); … … 221 223 return true; 222 224 } 223 224 225 /** 225 226 * @}
Note:
See TracChangeset
for help on using the changeset viewer.