Changes in uspace/drv/bus/usb/ohci/main.c [58563585:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/main.c
r58563585 rb7fd2a0 47 47 48 48 #define NAME "ohci" 49 static int ohci_driver_init(hcd_t *, const hw_res_list_parsed_t *, bool);49 static errno_t ohci_driver_init(hcd_t *, const hw_res_list_parsed_t *, bool); 50 50 static void ohci_driver_fini(hcd_t *); 51 51 … … 66 66 67 67 68 static int ohci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res, bool irq)68 static errno_t ohci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res, bool irq) 69 69 { 70 70 assert(hcd); … … 75 75 return ENOMEM; 76 76 77 const int ret = hc_init(instance, res, irq);77 const errno_t ret = hc_init(instance, res, irq); 78 78 if (ret == EOK) { 79 79 hcd_set_implementation(hcd, instance, &ohci_hc_driver.ops); … … 100 100 * @return Error code. 101 101 */ 102 static int ohci_dev_add(ddf_dev_t *device)102 static errno_t ohci_dev_add(ddf_dev_t *device) 103 103 { 104 104 usb_log_debug("ohci_dev_add() called\n");
Note:
See TracChangeset
for help on using the changeset viewer.