Changeset b7fd2a0 in mainline for uspace/drv/bus/usb/uhci/main.c
- Timestamp:
- 2018-01-13T03:10:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a53ed3a
- Parents:
- 36f0738
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/uhci/main.c
r36f0738 rb7fd2a0 49 49 #define NAME "uhci" 50 50 51 static int uhci_driver_init(hcd_t *, const hw_res_list_parsed_t *, bool);51 static errno_t uhci_driver_init(hcd_t *, const hw_res_list_parsed_t *, bool); 52 52 static void uhci_driver_fini(hcd_t *); 53 static int disable_legacy(ddf_dev_t *);53 static errno_t disable_legacy(ddf_dev_t *); 54 54 55 55 static const ddf_hc_driver_t uhci_hc_driver = { … … 67 67 }; 68 68 69 static int uhci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res, bool irq)69 static errno_t uhci_driver_init(hcd_t *hcd, const hw_res_list_parsed_t *res, bool irq) 70 70 { 71 71 assert(hcd); … … 76 76 return ENOMEM; 77 77 78 const int ret = hc_init(instance, res, irq);78 const errno_t ret = hc_init(instance, res, irq); 79 79 if (ret == EOK) { 80 80 hcd_set_implementation(hcd, instance, &uhci_hc_driver.ops); … … 101 101 * @return Error code. 102 102 */ 103 static int disable_legacy(ddf_dev_t *device)103 static errno_t disable_legacy(ddf_dev_t *device) 104 104 { 105 105 assert(device); … … 119 119 * @return Error code. 120 120 */ 121 static int uhci_dev_add(ddf_dev_t *device)121 static errno_t uhci_dev_add(ddf_dev_t *device) 122 122 { 123 123 usb_log_debug2("uhci_dev_add() called\n");
Note:
See TracChangeset
for help on using the changeset viewer.