Changeset 68e5406 in mainline for uspace/drv/bus/usb/uhci/hc.c
- Timestamp:
- 2017-12-10T21:08:11Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 4c6de4f
- Parents:
- dd8ab1c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/hc.c
rdd8ab1c r68e5406 103 103 * @param[out] code IRQ code structure. 104 104 * @param[in] hw_res Device's resources. 105 * @param[out] irq 105 106 * 106 107 * @return Error code. 107 108 */ 108 int uhci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res )109 int uhci_hc_gen_irq_code(irq_code_t *code, const hw_res_list_parsed_t *hw_res, int *irq) 109 110 { 110 111 assert(code); … … 142 143 RNGABSPTR(regs), RNGSZ(regs), hw_res->irqs.irqs[0]); 143 144 144 return hw_res->irqs.irqs[0]; 145 *irq = hw_res->irqs.irqs[0]; 146 return EOK; 145 147 } 146 148
Note:
See TracChangeset
for help on using the changeset viewer.