transport: mbox: Rename free_mbox_dev to transport_mbox_free
Change-Id: Ie400ccfada8890ddc626deadabd58fe4bf4c3cd3
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/mboxd.c b/mboxd.c
index ecf0caf..a9ef8d9 100644
--- a/mboxd.c
+++ b/mboxd.c
@@ -414,7 +414,7 @@
dbus_free(context);
flash_dev_free(context);
lpc_dev_free(context);
- free_mbox_dev(context);
+ transport_mbox_free(context);
windows_free(context);
protocol_free(context);
free(context);
diff --git a/transport_mbox.c b/transport_mbox.c
index dd412a4..5db978f 100644
--- a/transport_mbox.c
+++ b/transport_mbox.c
@@ -635,7 +635,7 @@
return __transport_mbox_init(context, MBOX_HOST_PATH);
}
-void free_mbox_dev(struct mbox_context *context)
+void transport_mbox_free(struct mbox_context *context)
{
close(context->fds[MBOX_FD].fd);
}
diff --git a/transport_mbox.h b/transport_mbox.h
index 8dd5902..c9d494d 100644
--- a/transport_mbox.h
+++ b/transport_mbox.h
@@ -9,6 +9,6 @@
int transport_mbox_dispatch(struct mbox_context *context);
int transport_mbox_init(struct mbox_context *context);
-void free_mbox_dev(struct mbox_context *context);
+void transport_mbox_free(struct mbox_context *context);
#endif /* MBOXD_MSG_H */