Changeset 476f62c in mainline for uspace/lib/drv/generic/remote_hw_res.c
- Timestamp:
- 2014-01-17T17:26:48Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5828554, cf982ff
- Parents:
- 61b5b73d (diff), 66be0288 (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_hw_res.c
r61b5b73d r476f62c 36 36 #include <async.h> 37 37 #include <errno.h> 38 #include <macros.h> 38 39 39 40 #include "ops/hw_res.h" … … 49 50 ipc_call_t *); 50 51 51 static remote_iface_func_ptr_t remote_hw_res_iface_ops [] = {52 static const remote_iface_func_ptr_t remote_hw_res_iface_ops [] = { 52 53 [HW_RES_GET_RESOURCE_LIST] = &remote_hw_res_get_resource_list, 53 54 [HW_RES_ENABLE_INTERRUPT] = &remote_hw_res_enable_interrupt, … … 56 57 }; 57 58 58 remote_iface_t remote_hw_res_iface = { 59 .method_count = sizeof(remote_hw_res_iface_ops) / 60 sizeof(remote_iface_func_ptr_t), 59 const remote_iface_t remote_hw_res_iface = { 60 .method_count = ARRAY_SIZE(remote_hw_res_iface_ops), 61 61 .methods = remote_hw_res_iface_ops 62 62 };
Note:
See TracChangeset
for help on using the changeset viewer.