Changeset 49bd7ae2 in mainline
- Timestamp:
- 2011-10-14T22:56:51Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- bd444e5
- Parents:
- 5917859c
- Location:
- uspace/lib/usbdev
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbdev/include/usb/dev/driver.h
r5917859c r49bd7ae2 158 158 usb_endpoint_description_t **endpoints; 159 159 /** Driver ops. */ 160 usb_driver_ops_t *ops;160 const usb_driver_ops_t *ops; 161 161 } usb_driver_t; 162 162 -
uspace/lib/usbdev/src/devdrv.c
r5917859c r49bd7ae2 54 54 }; 55 55 56 static usb_driver_t *driver = NULL;56 static const usb_driver_t *driver = NULL; 57 57 58 58 -
uspace/lib/usbdev/src/request.c
r5917859c r49bd7ae2 425 425 426 426 /* Everything is okay, copy the descriptor. */ 427 memcpy(descriptor, &descriptor_tmp, 428 sizeof(descriptor_tmp)); 427 memcpy(descriptor, &descriptor_tmp, sizeof(descriptor_tmp)); 429 428 430 429 return EOK; … … 470 469 471 470 /* Everything is okay, copy the descriptor. */ 472 memcpy(descriptor, &descriptor_tmp, 473 sizeof(descriptor_tmp)); 471 memcpy(descriptor, &descriptor_tmp, sizeof(descriptor_tmp)); 474 472 475 473 return EOK;
Note:
See TracChangeset
for help on using the changeset viewer.