Changes in uspace/srv/devman/loc.c [a35b458:4c6fd56] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/loc.c
ra35b458 r4c6fd56 1 1 /* 2 * Copyright (c) 2023 Jiri Svoboda 2 3 * Copyright (c) 2010 Lenka Trochtova 3 4 * All rights reserved. … … 37 38 #include "fun.h" 38 39 #include "loc.h" 40 #include "main.h" 39 41 40 42 /** Create loc path and name for the function. */ … … 59 61 } 60 62 61 loc_service_register( loc_pathname, &fun->service_id);63 loc_service_register(devman_srv, loc_pathname, &fun->service_id); 62 64 63 65 tree_add_loc_function(tree, fun); … … 69 71 errno_t loc_unregister_tree_function(fun_node_t *fun, dev_tree_t *tree) 70 72 { 71 errno_t rc = loc_service_unregister( fun->service_id);73 errno_t rc = loc_service_unregister(devman_srv, fun->service_id); 72 74 tree_rem_loc_function(tree, fun); 73 75 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.