Changes in uspace/srv/devman/devtree.c [5e801dc:c3d9aaf5] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devtree.c
r5e801dc rc3d9aaf5 1 1 /* 2 * Copyright (c) 2025 Jiri Svoboda 2 3 * Copyright (c) 2010 Lenka Trochtova 3 4 * All rights reserved. … … 93 94 } 94 95 95 static hash_table_ops_t devman_devices_ops = {96 static const hash_table_ops_t devman_devices_ops = { 96 97 .hash = devman_devices_hash, 97 98 .key_hash = handle_key_hash, … … 101 102 }; 102 103 103 static hash_table_ops_t devman_functions_ops = {104 static const hash_table_ops_t devman_functions_ops = { 104 105 .hash = devman_functions_hash, 105 106 .key_hash = handle_key_hash, … … 109 110 }; 110 111 111 static hash_table_ops_t loc_devices_ops = {112 static const hash_table_ops_t loc_devices_ops = { 112 113 .hash = loc_functions_hash, 113 114 .key_hash = service_id_key_hash, … … 314 315 } 315 316 317 /** Wait for device tree to stabilize. 318 * 319 * Blocks until the entire device tree had a chance to finish attaching 320 * all devices. 321 * 322 * @param tree Device tree 323 */ 324 void dev_tree_wait_stable(dev_tree_t *tree) 325 { 326 dev_wait_stable(tree->root_node->child); 327 } 328 316 329 /** @} 317 330 */
Note:
See TracChangeset
for help on using the changeset viewer.