Changeset e247d83 in mainline for uspace/drv/uhci-hcd/uhci.c
- Timestamp:
- 2011-05-23T14:04:51Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 563ead9
- Parents:
- 8953514
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/uhci.c
r8953514 re247d83 77 77 { 78 78 assert(dev); 79 hc_t *hc = &((uhci_t*)dev->driver_data)->hc; 79 uhci_t *uhci = dev->driver_data; 80 assert(uhci); 81 hc_t *hc = &uhci->hc; 80 82 uint16_t status = IPC_GET_ARG1(*call); 81 83 assert(hc); … … 144 146 { 145 147 assert(fun); 146 return &((rh_t*)fun->driver_data)->resource_list; 148 rh_t *rh = fun->driver_data; 149 assert(rh); 150 return &rh->resource_list; 147 151 } 148 152 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.