Changes in uspace/drv/bus/usb/usbflbk/main.c [b7fd2a0:860bf94] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbflbk/main.c
rb7fd2a0 r860bf94 48 48 static errno_t usbfallback_device_add(usb_device_t *dev) 49 49 { 50 usb_log_info("Pretending to control %s `%s'. \n",50 usb_log_info("Pretending to control %s `%s'.", 51 51 usb_device_get_iface_number(dev) < 0 ? "device" : "interface", 52 52 usb_device_get_name(dev)); … … 62 62 { 63 63 assert(dev); 64 usb_log_info("Device '%s' gone.", usb_device_get_name(dev)); 65 return EOK; 66 } 67 68 static errno_t usbfallback_device_remove(usb_device_t *dev) 69 { 70 assert(dev); 71 usb_log_info("Device '%s' removed.", usb_device_get_name(dev)); 64 72 return EOK; 65 73 } … … 68 76 static const usb_driver_ops_t usbfallback_driver_ops = { 69 77 .device_add = usbfallback_device_add, 70 .device_rem = usbfallback_device_gone,78 .device_remove = usbfallback_device_remove, 71 79 .device_gone = usbfallback_device_gone, 72 80 };
Note:
See TracChangeset
for help on using the changeset viewer.