Changeset e89a06a in mainline for uspace/srv/hid/input/input.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/input/input.c

    r6419c6e re89a06a  
    818818}
    819819
    820 static void cat_change_cb(void)
     820static void cat_change_cb(void *arg)
    821821{
    822822        dev_check_new();
     
    826826static errno_t input_start_dev_discovery(void)
    827827{
    828         errno_t rc = loc_register_cat_change_cb(cat_change_cb);
     828        errno_t rc = loc_register_cat_change_cb(cat_change_cb, NULL);
    829829        if (rc != EOK) {
    830830                printf("%s: Failed registering callback for device discovery: "
Note: See TracChangeset for help on using the changeset viewer.