Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/devman/devtree.c

    r5e801dc rc3d9aaf5  
    11/*
     2 * Copyright (c) 2025 Jiri Svoboda
    23 * Copyright (c) 2010 Lenka Trochtova
    34 * All rights reserved.
     
    9394}
    9495
    95 static hash_table_ops_t devman_devices_ops = {
     96static const hash_table_ops_t devman_devices_ops = {
    9697        .hash = devman_devices_hash,
    9798        .key_hash = handle_key_hash,
     
    101102};
    102103
    103 static hash_table_ops_t devman_functions_ops = {
     104static const hash_table_ops_t devman_functions_ops = {
    104105        .hash = devman_functions_hash,
    105106        .key_hash = handle_key_hash,
     
    109110};
    110111
    111 static hash_table_ops_t loc_devices_ops = {
     112static const hash_table_ops_t loc_devices_ops = {
    112113        .hash = loc_functions_hash,
    113114        .key_hash = service_id_key_hash,
     
    314315}
    315316
     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 */
     324void dev_tree_wait_stable(dev_tree_t *tree)
     325{
     326        dev_wait_stable(tree->root_node->child);
     327}
     328
    316329/** @}
    317330 */
Note: See TracChangeset for help on using the changeset viewer.