Changeset 45bf63c in mainline for uspace/drv/bus/usb/usbflbk/main.c
- Timestamp:
- 2011-10-30T15:35:36Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 20a3465, 3ce78580
- Parents:
- 1737bfb (diff), e978ada (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbflbk/main.c
r1737bfb r45bf63c 74 74 } 75 75 76 /** Callback when new device is about to be removed. 77 * 78 * @param dev Representation of a generic DDF device. 79 * @return Error code. 80 */ 81 static int usbfallback_device_remove(usb_device_t *dev) 82 { 83 return EOK; 84 } 85 76 86 /** Callback when new device is removed and recognized as gone by DDF. 77 87 * … … 93 103 return EOK; 94 104 } 105 95 106 /** USB fallback driver ops. */ 96 static usb_driver_ops_t usbfallback_driver_ops = {107 static const usb_driver_ops_t usbfallback_driver_ops = { 97 108 .device_add = usbfallback_device_add, 109 .device_rem = usbfallback_device_remove, 98 110 .device_gone = usbfallback_device_gone, 99 111 }; 100 112 101 113 /** USB fallback driver. */ 102 static usb_driver_t usbfallback_driver = {114 static const usb_driver_t usbfallback_driver = { 103 115 .name = NAME, 104 116 .ops = &usbfallback_driver_ops,
Note:
See TracChangeset
for help on using the changeset viewer.