Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 46c5dc2 in mainline


Ignore:
Timestamp:
2018-01-12T11:05:05Z (4 years ago)
Author:
Petr Manek <petr.manek@…>
Branches:
lfn, master
Children:
0b90f49
Parents:
5823525e
Message:

usbflbk: add missing callbacks

File:
1 edited

Legend:

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

    r5823525e r46c5dc2  
    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' will be removed.", usb_device_get_name(dev));
     72        return EOK;
     73}
     74
     75static int usbfallback_device_removed(usb_device_t *dev)
     76{
     77        assert(dev);
     78        usb_log_info("Device '%s' removed.", usb_device_get_name(dev));
    6479        return EOK;
    6580}
     
    6883static const usb_driver_ops_t usbfallback_driver_ops = {
    6984        .device_add = usbfallback_device_add,
    70         .device_remove = usbfallback_device_gone,
    71         .device_removed = usbfallback_device_gone,
     85        .device_remove = usbfallback_device_remove,
     86        .device_removed = usbfallback_device_removed,
    7287        .device_gone = usbfallback_device_gone,
    7388};
Note: See TracChangeset for help on using the changeset viewer.