summaryrefslogtreecommitdiff
path: root/include/mailbox-uclass.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:35:50 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commitcc92c3cc68a9053f53b2814e9233d86553cc998e (patch)
tree7b6bf0039b0252b4d235da523d716b2e261aaa7b /include/mailbox-uclass.h
parent3b85ce8ec32910b7576e816243cde7c6740fd68a (diff)
mailbox: Rename free() to rfree()
This function name conflicts with our desire to #define free() to something else on sandbox. Since it deals with resources, rename it to rfree(). Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/mailbox-uclass.h')
-rw-r--r--include/mailbox-uclass.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mailbox-uclass.h b/include/mailbox-uclass.h
index e0618aad97..3c60c76506 100644
--- a/include/mailbox-uclass.h
+++ b/include/mailbox-uclass.h
@@ -49,14 +49,14 @@ struct mbox_ops {
*/
int (*request)(struct mbox_chan *chan);
/**
- * free - Free a previously requested channel.
+ * rfree - Free a previously requested channel.
*
* This is the implementation of the client mbox_free() API.
*
* @chan: The channel to free.
* @return 0 if OK, or a negative error code.
*/
- int (*free)(struct mbox_chan *chan);
+ int (*rfree)(struct mbox_chan *chan);
/**
* send - Send a message over a mailbox channel
*