Changes in uspace/drv/bus/usb/ohci/main.c [0c0f823b:920d0fc] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/ohci/main.c
r0c0f823b r920d0fc 59 59 return ret; 60 60 } 61 usb_log_info("Controlling new OHCI device '%s'.\n", d evice->name);61 usb_log_info("Controlling new OHCI device '%s'.\n", ddf_dev_get_name(device)); 62 62 63 63 return EOK; 64 64 } 65 /*----------------------------------------------------------------------------*/ 65 66 66 static driver_ops_t ohci_driver_ops = { 67 67 .dev_add = ohci_dev_add, 68 68 }; 69 /*----------------------------------------------------------------------------*/ 69 70 70 static driver_t ohci_driver = { 71 71 .name = NAME, 72 72 .driver_ops = &ohci_driver_ops 73 73 }; 74 /*----------------------------------------------------------------------------*/ 74 75 75 /** Initializes global driver structures (NONE). 76 76 * … … 83 83 int main(int argc, char *argv[]) 84 84 { 85 usb_log_enable(USB_LOG_LEVEL_DEFAULT,NAME);85 log_init(NAME); 86 86 return ddf_driver_main(&ohci_driver); 87 87 }
Note:
See TracChangeset
for help on using the changeset viewer.