Changeset e89a06a in mainline for uspace/srv/hid
- Timestamp:
- 2018-07-06T22:13:20Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- be0f5e4
- Parents:
- 6419c6e
- Location:
- uspace/srv/hid
- Files:
-
- 3 edited
-
compositor/compositor.c (modified) (2 diffs)
-
input/input.c (modified) (2 diffs)
-
output/port/chardev.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/compositor/compositor.c
r6419c6e re89a06a 2262 2262 } 2263 2263 2264 static void category_change_cb(void )2264 static void category_change_cb(void *arg) 2265 2265 { 2266 2266 discover_viewports(); … … 2311 2311 } 2312 2312 2313 rc = loc_register_cat_change_cb(category_change_cb );2313 rc = loc_register_cat_change_cb(category_change_cb, NULL); 2314 2314 if (rc != EOK) { 2315 2315 printf("%s: Failed to register category change callback\n", NAME); -
uspace/srv/hid/input/input.c
r6419c6e re89a06a 818 818 } 819 819 820 static void cat_change_cb(void )820 static void cat_change_cb(void *arg) 821 821 { 822 822 dev_check_new(); … … 826 826 static errno_t input_start_dev_discovery(void) 827 827 { 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); 829 829 if (rc != EOK) { 830 830 printf("%s: Failed registering callback for device discovery: " -
uspace/srv/hid/output/port/chardev.c
r6419c6e re89a06a 155 155 * fibril blocked in chardev_init(). 156 156 */ 157 static void check_for_dev(void )157 static void check_for_dev(void *arg) 158 158 { 159 159 errno_t rc; … … 236 236 } 237 237 238 rc = loc_register_cat_change_cb(check_for_dev );238 rc = loc_register_cat_change_cb(check_for_dev, NULL); 239 239 if (rc != EOK) { 240 240 printf("%s: Failed to register callback for device discovery.\n", … … 243 243 } 244 244 245 check_for_dev( );245 check_for_dev(NULL); 246 246 247 247 fibril_mutex_lock(&discovery_lock);
Note:
See TracChangeset
for help on using the changeset viewer.
