Changeset 741bcdeb in mainline for uspace/drv/bus/usb/ehci/main.c
- Timestamp:
- 2017-10-13T09:21:22Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c0e4b5b2
- Parents:
- e6b9182
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ehci/main.c
re6b9182 r741bcdeb 48 48 #include "res.h" 49 49 #include "hc.h" 50 #include "ehci_endpoint.h"51 50 52 51 #define NAME "ehci" … … 67 66 .ops = { 68 67 .schedule = ehci_hc_schedule, 69 .ep_add_hook = ehci_endpoint_init,70 .ep_remove_hook = ehci_endpoint_fini,71 68 .irq_hook = ehci_hc_interrupt, 72 69 .status_hook = ehci_hc_status, … … 86 83 const int ret = hc_init(instance, res); 87 84 if (ret == EOK) { 88 hcd_set_implementation(hcd, instance, &ehci_hc_driver.ops );85 hcd_set_implementation(hcd, instance, &ehci_hc_driver.ops, &instance->bus.base.base); 89 86 } else { 90 87 free(instance); … … 116 113 117 114 free(hc); 118 hcd_set_implementation(hcd, NULL, NULL );115 hcd_set_implementation(hcd, NULL, NULL, NULL); 119 116 } 120 117
Note:
See TracChangeset
for help on using the changeset viewer.