Ignore:
File:
1 edited

Legend:

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

    rb7fd2a0 r860bf94  
    4848static errno_t 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 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));
    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.