Changeset 1b973dc in mainline for uspace/lib/drv/generic/remote_usbhc.c
- Timestamp:
- 2013-12-31T21:41:45Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1bb9833
- Parents:
- 4c14b88 (diff), 8a84484 (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/lib/drv/generic/remote_usbhc.c
r4c14b88 r1b973dc 37 37 #include <errno.h> 38 38 #include <assert.h> 39 #include <macros.h> 39 40 40 41 #include "usbhc_iface.h" … … 191 192 192 193 /** Remote USB host controller interface operations. */ 193 static remote_iface_func_ptr_t remote_usbhc_iface_ops[] = {194 static const remote_iface_func_ptr_t remote_usbhc_iface_ops[] = { 194 195 [IPC_M_USBHC_READ] = remote_usbhc_read, 195 196 [IPC_M_USBHC_WRITE] = remote_usbhc_write, … … 198 199 /** Remote USB host controller interface structure. 199 200 */ 200 remote_iface_t remote_usbhc_iface = { 201 .method_count = sizeof(remote_usbhc_iface_ops) / 202 sizeof(remote_usbhc_iface_ops[0]), 201 const remote_iface_t remote_usbhc_iface = { 202 .method_count = ARRAY_SIZE(remote_usbhc_iface_ops), 203 203 .methods = remote_usbhc_iface_ops 204 204 };
Note:
See TracChangeset
for help on using the changeset viewer.