Changeset d2bff2f in mainline for uspace/drv/ohci/ohci.c
- Timestamp:
- 2011-05-07T15:41:47Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 76ef94e
- Parents:
- dc5f2fb
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/ohci/ohci.c
rdc5f2fb rd2bff2f 109 109 ddf_fun_t *fun, devman_handle_t *handle) 110 110 { 111 assert(handle);112 111 assert(fun); 113 112 ddf_fun_t *hc_fun = dev_to_ohci(fun->dev)->hc_fun; 114 113 assert(hc_fun); 115 114 116 *handle = hc_fun->handle; 115 if (handle != NULL) 116 *handle = hc_fun->handle; 117 117 return EOK; 118 118 } … … 170 170 } else (void)0 171 171 172 instance->rh_fun = NULL; 172 173 instance->hc_fun = ddf_fun_create(device, fun_exposed, "ohci-hc"); 173 174 int ret = instance->hc_fun ? EOK : ENOMEM;
Note:
See TracChangeset
for help on using the changeset viewer.