Changeset 45457265 in mainline for uspace/drv/bus/usb/xhci/main.c
- Timestamp:
- 2018-02-03T02:14:26Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- eb862fd
- Parents:
- 961a5ee
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/xhci/main.c
r961a5ee r45457265 53 53 } 54 54 55 static int hcd_hc_add(hc_device_t *hcd, const hw_res_list_parsed_t *hw_res)55 static errno_t hcd_hc_add(hc_device_t *hcd, const hw_res_list_parsed_t *hw_res) 56 56 { 57 int err;57 errno_t err; 58 58 xhci_hc_t *hc = hcd_to_hc(hcd); 59 59 hc_device_setup(hcd, (bus_t *) &hc->bus); … … 68 68 } 69 69 70 static int hcd_irq_code_gen(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq)70 static errno_t hcd_irq_code_gen(irq_code_t *code, hc_device_t *hcd, const hw_res_list_parsed_t *hw_res, int *irq) 71 71 { 72 72 xhci_hc_t *hc = hcd_to_hc(hcd); … … 74 74 } 75 75 76 static int hcd_claim(hc_device_t *hcd)76 static errno_t hcd_claim(hc_device_t *hcd) 77 77 { 78 78 xhci_hc_t *hc = hcd_to_hc(hcd); … … 80 80 } 81 81 82 static int hcd_start(hc_device_t *hcd)82 static errno_t hcd_start(hc_device_t *hcd) 83 83 { 84 84 xhci_hc_t *hc = hcd_to_hc(hcd); … … 86 86 } 87 87 88 static int hcd_hc_gone(hc_device_t *hcd)88 static errno_t hcd_hc_gone(hc_device_t *hcd) 89 89 { 90 90 xhci_hc_t *hc = hcd_to_hc(hcd); … … 112 112 * Driver debug level is set here. 113 113 */ 114 int main(int argc, char *argv[])114 errno_t main(int argc, char *argv[]) 115 115 { 116 116 log_init(NAME);
Note:
See TracChangeset
for help on using the changeset viewer.