Changeset 3f3afb9 in mainline for uspace/drv/usbhid/main.c
- Timestamp:
- 2011-04-11T20:38:37Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1324ff3, a39cfb8
- Parents:
- 58226b4 (diff), d91645ab (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhid/main.c
r58226b4 r3f3afb9 98 98 /* Create the function exposed under /dev/devices. */ 99 99 ddf_fun_t *hid_fun = ddf_fun_create(dev->ddf_dev, fun_exposed, 100 usb_hid_get_function_name(hid_dev ->device_type));100 usb_hid_get_function_name(hid_dev)); 101 101 if (hid_fun == NULL) { 102 102 usb_log_error("Could not create DDF function node.\n"); … … 122 122 } 123 123 124 rc = ddf_fun_add_to_class(hid_fun, 125 usb_hid_get_class_name(hid_dev->device_type)); 124 rc = ddf_fun_add_to_class(hid_fun, usb_hid_get_class_name(hid_dev)); 126 125 if (rc != EOK) { 127 126 usb_log_error( … … 142 141 hid_dev->poll_pipe_index, 143 142 /* Callback when data arrives. */ 144 hid_dev->poll_callback,143 usb_hid_polling_callback, 145 144 /* How much data to request. */ 146 145 dev->pipes[hid_dev->poll_pipe_index].pipe->max_packet_size,
Note:
See TracChangeset
for help on using the changeset viewer.