Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/bus/usb/usbflbk/main.c

    r8e10ef4 ra1732929  
    4848static int usbfallback_device_add(usb_device_t *dev)
    4949{
    50         usb_log_info("Pretending to control %s `%s'.\n",
     50        usb_log_info("Pretending to control %s `%s'.",
    5151            usb_device_get_iface_number(dev) < 0 ? "device" : "interface",
    5252            usb_device_get_name(dev));
     
    6262{
    6363        assert(dev);
     64        usb_log_info("Device '%s' gone.", usb_device_get_name(dev));
     65        return EOK;
     66}
     67
     68static int usbfallback_device_remove(usb_device_t *dev)
     69{
     70        assert(dev);
     71        usb_log_info("Device '%s' removed.", usb_device_get_name(dev));
    6472        return EOK;
    6573}
     
    6876static const usb_driver_ops_t usbfallback_driver_ops = {
    6977        .device_add = usbfallback_device_add,
    70         .device_rem = usbfallback_device_gone,
     78        .device_remove = usbfallback_device_remove,
    7179        .device_gone = usbfallback_device_gone,
    7280};
Note: See TracChangeset for help on using the changeset viewer.