transport: mbox: Rename *init_mbox_dev to *transport_mbox_init
Change-Id: I212277ed2462089b905546ef048308d24a5489d0
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/transport_mbox.c b/transport_mbox.c
index 352ea0b..dd412a4 100644
--- a/transport_mbox.c
+++ b/transport_mbox.c
@@ -610,7 +610,7 @@
.flush_events = transport_mbox_flush_events,
};
-int __init_mbox_dev(struct mbox_context *context, const char *path)
+int __transport_mbox_init(struct mbox_context *context, const char *path)
{
int fd;
@@ -630,9 +630,9 @@
return 0;
}
-int init_mbox_dev(struct mbox_context *context)
+int transport_mbox_init(struct mbox_context *context)
{
- return __init_mbox_dev(context, MBOX_HOST_PATH);
+ return __transport_mbox_init(context, MBOX_HOST_PATH);
}
void free_mbox_dev(struct mbox_context *context)