Changes in uspace/srv/devman/dev.c [b7fd2a0:59dc181] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/dev.c
rb7fd2a0 r59dc181 127 127 128 128 /** Get list of device functions. */ 129 errno_t dev_get_functions(dev_tree_t *tree, dev_node_t *dev,129 int dev_get_functions(dev_tree_t *tree, dev_node_t *dev, 130 130 devman_handle_t *hdl_buf, size_t buf_size, size_t *act_size) 131 131 { … … 144 144 145 145 size_t pos = 0; 146 list_foreach(dev->functions, dev_functions, fun_node_t, fun) { 146 list_foreach(dev->functions, item) { 147 fun_node_t *fun = 148 list_get_instance(item, fun_node_t, dev_functions); 149 147 150 if (pos < buf_cnt) { 148 151 hdl_buf[pos] = fun->handle;
Note:
See TracChangeset
for help on using the changeset viewer.