Changeset a91fbb1 in mainline for uspace/drv/usbhid/main.c
- Timestamp:
- 2011-04-15T20:53:17Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2c2cbcf
- Parents:
- 27b85d9 (diff), 8595577b (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
r27b85d9 ra91fbb1 75 75 static int usb_hid_try_add_device(usb_device_t *dev) 76 76 { 77 assert(dev != NULL); 78 77 79 /* 78 80 * Initialize device (get and process descriptors, get address, etc.) … … 178 180 usb_log_debug("usb_hid_add_device()\n"); 179 181 182 if (dev == NULL) { 183 usb_log_warning("Wrong parameter given for add_device().\n"); 184 return EINVAL; 185 } 186 180 187 if (dev->interface_no < 0) { 181 188 usb_log_warning("Device is not a supported HID device.\n");
Note:
See TracChangeset
for help on using the changeset viewer.