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