Changeset e89a06a in mainline for uspace/srv/hid/output/port/chardev.c


Ignore:
Timestamp:
2018-07-06T22:13:20Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
be0f5e4
Parents:
6419c6e
Message:

Encapsulate partitions list in volume server. (Global state is not good coding practice.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/output/port/chardev.c

    r6419c6e re89a06a  
    155155 * fibril blocked in chardev_init().
    156156 */
    157 static void check_for_dev(void)
     157static void check_for_dev(void *arg)
    158158{
    159159        errno_t rc;
     
    236236        }
    237237
    238         rc = loc_register_cat_change_cb(check_for_dev);
     238        rc = loc_register_cat_change_cb(check_for_dev, NULL);
    239239        if (rc != EOK) {
    240240                printf("%s: Failed to register callback for device discovery.\n",
     
    243243        }
    244244
    245         check_for_dev();
     245        check_for_dev(NULL);
    246246
    247247        fibril_mutex_lock(&discovery_lock);
Note: See TracChangeset for help on using the changeset viewer.