Changes in uspace/drv/bus/usb/usbflbk/main.c [a1732929:8e10ef4] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbflbk/main.c
ra1732929 r8e10ef4 48 48 static int usbfallback_device_add(usb_device_t *dev) 49 49 { 50 usb_log_info("Pretending to control %s `%s'. ",50 usb_log_info("Pretending to control %s `%s'.\n", 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 int usbfallback_device_remove(usb_device_t *dev)69 {70 assert(dev);71 usb_log_info("Device '%s' removed.", usb_device_get_name(dev));72 64 return EOK; 73 65 } … … 76 68 static const usb_driver_ops_t usbfallback_driver_ops = { 77 69 .device_add = usbfallback_device_add, 78 .device_rem ove = usbfallback_device_remove,70 .device_rem = usbfallback_device_gone, 79 71 .device_gone = usbfallback_device_gone, 80 72 };
Note:
See TracChangeset
for help on using the changeset viewer.