Changeset 76fbd9a in mainline for uspace/drv/bus/usb/usbhid/main.c
- Timestamp:
- 2012-02-24T19:07:44Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a76b01b4
- Parents:
- 5837c7a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbhid/main.c
r5837c7a r76fbd9a 113 113 return EOK; 114 114 } 115 /*----------------------------------------------------------------------------*/ 115 116 116 /** 117 117 * Callback for a device about to be removed from the driver. … … 126 126 return ENOTSUP; 127 127 } 128 /*----------------------------------------------------------------------------*/ 128 129 129 /** 130 130 * Callback for removing a device from the driver. … … 152 152 return EOK; 153 153 } 154 /*----------------------------------------------------------------------------*/ 154 155 155 /** USB generic driver callbacks */ 156 156 static const usb_driver_ops_t usb_hid_driver_ops = { … … 159 159 .device_gone = usb_hid_device_gone, 160 160 }; 161 /*----------------------------------------------------------------------------*/ 161 162 162 /** The driver itself. */ 163 163 static const usb_driver_t usb_hid_driver = { … … 166 166 .endpoints = usb_hid_endpoints 167 167 }; 168 /*----------------------------------------------------------------------------*/ 168 169 169 int main(int argc, char *argv[]) 170 170 {
Note:
See TracChangeset
for help on using the changeset viewer.