Changeset dcbda00 in mainline
- Timestamp:
- 2013-08-02T16:01:30Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cce3228
- Parents:
- d93f5afb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/ddf_helpers.c
rd93f5afb rdcbda00 302 302 static ddf_dev_ops_t usb_ops = { 303 303 .interfaces[USB_DEV_IFACE] = &usb_iface, 304 };305 306 /** Standard USB HC options (HC interface) */307 static ddf_dev_ops_t hc_ops = {308 .interfaces[USBHC_DEV_IFACE] = &hcd_iface,309 304 }; 310 305 … … 632 627 CHECK_RET_DEST_FREE_RETURN(ret, 633 628 "Failed to create HCD HC function: %s.\n", str_error(ret)); 634 ddf_fun_set_ops(instance->hc_fun, &hc_ops);635 629 hcd_t *hcd = ddf_fun_data_alloc(instance->hc_fun, sizeof(hcd_t)); 636 630 ret = hcd ? EOK : ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.