Changeset 9be30cdf in mainline for uspace/lib/drv/generic/remote_usb.c
- Timestamp:
- 2013-12-31T02:50:45Z (10 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c1ee46f
- Parents:
- 208b5f5
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/remote_usb.c
r208b5f5 r9be30cdf 36 36 #include <async.h> 37 37 #include <errno.h> 38 #include <macros.h> 38 39 39 40 #include "usb_iface.h" … … 107 108 108 109 /** Remote USB interface operations. */ 109 static remote_iface_func_ptr_t remote_usb_iface_ops [] = {110 static const remote_iface_func_ptr_t remote_usb_iface_ops [] = { 110 111 [IPC_M_USB_GET_MY_ADDRESS] = remote_usb_get_my_address, 111 112 [IPC_M_USB_GET_MY_INTERFACE] = remote_usb_get_my_interface, … … 116 117 */ 117 118 remote_iface_t remote_usb_iface = { 118 .method_count = sizeof(remote_usb_iface_ops) / 119 sizeof(remote_usb_iface_ops[0]), 119 .method_count = ARRAY_SIZE(remote_usb_iface_ops), 120 120 .methods = remote_usb_iface_ops 121 121 };
Note:
See TracChangeset
for help on using the changeset viewer.