summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/sandbox-mbox.c
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 /drivers/mailbox/sandbox-mbox.c
parent3b85ce8ec32910b7576e816243cde7c6740fd68a (diff)
downloadu-boot-cc92c3cc68a9053f53b2814e9233d86553cc998e.tar.gz
u-boot-cc92c3cc68a9053f53b2814e9233d86553cc998e.tar.xz
u-boot-cc92c3cc68a9053f53b2814e9233d86553cc998e.zip
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 'drivers/mailbox/sandbox-mbox.c')
-rw-r--r--drivers/mailbox/sandbox-mbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mailbox/sandbox-mbox.c b/drivers/mailbox/sandbox-mbox.c
index bc917b3de4..442ca633a1 100644
--- a/drivers/mailbox/sandbox-mbox.c
+++ b/drivers/mailbox/sandbox-mbox.c
@@ -87,7 +87,7 @@ static const struct udevice_id sandbox_mbox_ids[] = {
struct mbox_ops sandbox_mbox_mbox_ops = {
.request = sandbox_mbox_request,
- .free = sandbox_mbox_free,
+ .rfree = sandbox_mbox_free,
.send = sandbox_mbox_send,
.recv = sandbox_mbox_recv,
};