Changeset 4c6fd56 in mainline for uspace/srv/bd/rd/rd.c
- Timestamp:
- 2023-09-16T19:58:18Z (16 months ago)
- Branches:
- master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7d7f5e3
- Parents:
- 6a0b2cc
- git-author:
- Jiri Svoboda <jiri@…> (2023-09-16 19:48:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2023-09-16 19:58:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/bd/rd/rd.c
r6a0b2cc r4c6fd56 1 1 /* 2 * Copyright (c) 2023 Jiri Svoboda 2 3 * Copyright (c) 2007 Michal Konopa 3 4 * Copyright (c) 2007 Martin Jelen … … 93 94 94 95 static bd_srvs_t bd_srvs; 96 static loc_srv_t *srv; 95 97 96 98 static void rd_client_conn(ipc_call_t *icall, void *arg) … … 178 180 179 181 async_set_fallback_port_handler(rd_client_conn, NULL); 180 ret = loc_server_register(NAME );182 ret = loc_server_register(NAME, &srv); 181 183 if (ret != EOK) { 182 184 printf("%s: Unable to register driver: %s\n", NAME, str_error(ret)); … … 185 187 186 188 service_id_t service_id; 187 ret = loc_service_register( "bd/initrd", &service_id);189 ret = loc_service_register(srv, "bd/initrd", &service_id); 188 190 if (ret != EOK) { 189 191 printf("%s: Unable to register device service\n", NAME);
Note:
See TracChangeset
for help on using the changeset viewer.