net: ipc_router: Register the service with "SVC" prefix

Since IPC Router is used for non-QMI message communication purposes, add
"SVC" prefix to the service name instead of "QMI" prefix.

Change-Id: I5c97d6e4652df3c365e45d8b636bb63b798bdda8
Signed-off-by: Karthikeyan Ramasubramanian <kramasub@codeaurora.org>
This commit is contained in:
Karthikeyan Ramasubramanian 2014-07-21 16:58:51 -06:00
parent 384894c9b2
commit 6912d7f006
2 changed files with 2 additions and 2 deletions

View File

@ -1737,7 +1737,7 @@ static struct svc_event_nb *find_and_add_svc_event_nb(uint32_t service_id,
temp->svc_driver.probe = qmi_svc_event_probe;
temp->svc_driver.remove = qmi_svc_event_remove;
scnprintf(temp->pdriver_name, sizeof(temp->pdriver_name),
"QMI%08x:%08x", service_id, instance_id);
"SVC%08x:%08x", service_id, instance_id);
temp->svc_driver.driver.name = temp->pdriver_name;
RAW_INIT_NOTIFIER_HEAD(&temp->svc_event_rcvr_list);

View File

@ -1288,7 +1288,7 @@ static struct msm_ipc_server *msm_ipc_router_create_server(
INIT_LIST_HEAD(&server->server_port_list);
list_add_tail(&server->list, &server_list[key]);
scnprintf(server->pdev_name, sizeof(server->pdev_name),
"QMI%08x:%08x", service, instance);
"SVC%08x:%08x", service, instance);
server->next_pdev_id = 1;
create_srv_port: