Changeset e8277c0 in mainline for uspace/drv/bus/usb/uhci/hc.c
- Timestamp:
- 2018-01-25T02:05:57Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5f0b366
- Parents:
- 4172db4a
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-25 01:14:34)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-25 02:05:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
r4172db4a re8277c0 317 317 } 318 318 319 static endpoint_t *endpoint_create(device_t *device, const usb_endpoint_descriptors_t *desc) 320 { 321 endpoint_t *ep = calloc(1, sizeof(uhci_endpoint_t)); 322 if (ep) 323 endpoint_init(ep, device, desc); 324 return ep; 325 } 326 319 327 static int endpoint_register(endpoint_t *ep) 320 328 { … … 407 415 .status = hc_status, 408 416 417 .endpoint_create = endpoint_create, 409 418 .endpoint_register = endpoint_register, 410 419 .endpoint_unregister = endpoint_unregister,
Note:
See TracChangeset
for help on using the changeset viewer.