transport: mbox: Rename dispatch_mbox to transport_mbox_dispatch

Change-Id: I7c5457099e90ea4ed498fd1898b4504f051d13fc
Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
diff --git a/mboxd.c b/mboxd.c
index a5c7ef6..31dcefa 100644
--- a/mboxd.c
+++ b/mboxd.c
@@ -168,7 +168,7 @@
 		}
 		if (context->fds[MBOX_FD].revents & POLLIN) { /* MBOX */
 			MSG_DBG("MBOX Event\n");
-			rc = dispatch_mbox(context);
+			rc = transport_mbox_dispatch(context);
 			if (rc < 0) {
 				MSG_ERR("Error handling MBOX event\n");
 			}
diff --git a/test/mbox.c b/test/mbox.c
index a622d6e..0e22cbe 100644
--- a/test/mbox.c
+++ b/test/mbox.c
@@ -143,7 +143,7 @@
 	if (rc < 0)
 		return rc;
 
-	rc = dispatch_mbox(context);
+	rc = transport_mbox_dispatch(context);
 	if (rc < 0)
 		return -rc;
 
diff --git a/transport_mbox.c b/transport_mbox.c
index fb4c28a..352ea0b 100644
--- a/transport_mbox.c
+++ b/transport_mbox.c
@@ -586,12 +586,12 @@
 }
 
 /*
- * dispatch_mbox() - handle an mbox interrupt
+ * transport_mbox_dispatch() - handle an mbox interrupt
  * @context:	The mbox context pointer
  *
  * Return:	0 if handled successfully otherwise negative error code
  */
-int dispatch_mbox(struct mbox_context *context)
+int transport_mbox_dispatch(struct mbox_context *context)
 {
 	int rc = 0;
 	union mbox_regs req = { 0 };
diff --git a/transport_mbox.h b/transport_mbox.h
index 4c2952c..cb55783 100644
--- a/transport_mbox.h
+++ b/transport_mbox.h
@@ -7,7 +7,7 @@
 #include "common.h"
 #include "mbox.h"
 
-int dispatch_mbox(struct mbox_context *context);
+int transport_mbox_dispatch(struct mbox_context *context);
 int init_mbox_dev(struct mbox_context *context);
 void free_mbox_dev(struct mbox_context *context);