Changes in uspace/drv/bus/usb/ehci/main.c [b7fd2a0:58563585] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/main.c
rb7fd2a0 r58563585 52 52 #define NAME "ehci" 53 53 54 static errno_t ehci_driver_init(hcd_t *, const hw_res_list_parsed_t *, bool);54 static int ehci_driver_init(hcd_t *, const hw_res_list_parsed_t *, bool); 55 55 static void ehci_driver_fini(hcd_t *); 56 56 … … 72 72 73 73 74 static errno_t ehci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res,74 static int ehci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res, 75 75 bool irq) 76 76 { … … 82 82 return ENOMEM; 83 83 84 const errno_t ret = hc_init(instance, res, irq);84 const int ret = hc_init(instance, res, irq); 85 85 if (ret == EOK) { 86 86 hcd_set_implementation(hcd, instance, &ehci_hc_driver.ops); … … 107 107 * @return Error code. 108 108 */ 109 static errno_t ehci_dev_add(ddf_dev_t *device)109 static int ehci_dev_add(ddf_dev_t *device) 110 110 { 111 111 usb_log_debug("ehci_dev_add() called\n");
Note:
See TracChangeset
for help on using the changeset viewer.