Changes in uspace/drv/uhci-hcd/uhci.c [e247d83:23f40280] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/uhci.c
re247d83 r23f40280 77 77 { 78 78 assert(dev); 79 uhci_t *uhci = dev->driver_data; 80 assert(uhci); 81 hc_t *hc = &uhci->hc; 79 hc_t *hc = &((uhci_t*)dev->driver_data)->hc; 82 80 uint16_t status = IPC_GET_ARG1(*call); 83 81 assert(hc); … … 146 144 { 147 145 assert(fun); 148 rh_t *rh = fun->driver_data; 149 assert(rh); 150 return &rh->resource_list; 146 return &((rh_t*)fun->driver_data)->resource_list; 151 147 } 152 148 /*----------------------------------------------------------------------------*/
Note:
See TracChangeset
for help on using the changeset viewer.