Changeset 3121b5f in mainline for uspace/lib/usbhost/src/ddf_helpers.c
- Timestamp:
- 2013-08-07T09:51:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e588d12
- Parents:
- 5514cf7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhost/src/ddf_helpers.c
r5514cf7 r3121b5f 182 182 } 183 183 184 /** Gets handle of the respective hc (this device, hc function).185 * 186 * @param[in] root_hub_fun Root hub function seeking hc handle.184 /** Gets handle of the respective device. 185 * 186 * @param[in] fun Device function. 187 187 * @param[out] handle Place to write the handle. 188 188 * @return Error code. 189 189 */ 190 static int get_ device_handle(ddf_fun_t *fun, devman_handle_t *handle)190 static int get_my_device_handle(ddf_fun_t *fun, devman_handle_t *handle) 191 191 { 192 192 assert(fun); … … 250 250 /** Root hub USB interface */ 251 251 static usb_iface_t usb_iface = { 252 .get_ device_handle = get_device_handle,252 .get_my_device_handle = get_my_device_handle, 253 253 254 254 .reserve_default_address = reserve_default_address,
Note:
See TracChangeset
for help on using the changeset viewer.