Changes in uspace/drv/hid/usbhid/main.c [b7fd2a0:53b9f2c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/hid/usbhid/main.c
rb7fd2a0 r53b9f2c 56 56 * @return Error code. 57 57 */ 58 static errno_t usb_hid_device_add(usb_device_t *dev)58 static int usb_hid_device_add(usb_device_t *dev) 59 59 { 60 60 usb_log_debug("%s\n", __FUNCTION__); … … 77 77 } 78 78 79 errno_t rc = usb_hid_init(hid_dev, dev);79 int rc = usb_hid_init(hid_dev, dev); 80 80 if (rc != EOK) { 81 81 usb_log_error("Failed to initialize USB/HID device.\n"); … … 122 122 * @return Error code. 123 123 */ 124 static errno_t usb_hid_device_rem(usb_device_t *dev)124 static int usb_hid_device_rem(usb_device_t *dev) 125 125 { 126 126 // TODO: Stop device polling … … 135 135 * @return Error code. 136 136 */ 137 static errno_t usb_hid_device_gone(usb_device_t *dev)137 static int usb_hid_device_gone(usb_device_t *dev) 138 138 { 139 139 assert(dev);
Note:
See TracChangeset
for help on using the changeset viewer.