Commit d86141b6 authored by Andrew Jeffery's avatar Andrew Jeffery
Browse files

transport: mbox: Rename dispatch_mbox to transport_mbox_dispatch


Change-Id: I7c5457099e90ea4ed498fd1898b4504f051d13fc
Signed-off-by: Andrew Jeffery's avatarAndrew Jeffery <andrew@aj.id.au>
parent 5335f093
......@@ -168,7 +168,7 @@ static int poll_loop(struct mbox_context *context)
}
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");
}
......
......@@ -143,7 +143,7 @@ int mbox_command_dispatch(struct mbox_context *context, const uint8_t *command,
if (rc < 0)
return rc;
rc = dispatch_mbox(context);
rc = transport_mbox_dispatch(context);
if (rc < 0)
return -rc;
......
......@@ -586,12 +586,12 @@ static int get_message(struct mbox_context *context, union mbox_regs *msg)
}
/*
* 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 };
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment