diff options
author | Simon Glass <sjg@chromium.org> | 2020-02-03 07:35:50 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-02-05 19:33:46 -0700 |
commit | cc92c3cc68a9053f53b2814e9233d86553cc998e (patch) | |
tree | 7b6bf0039b0252b4d235da523d716b2e261aaa7b /drivers/mailbox/sandbox-mbox.c | |
parent | 3b85ce8ec32910b7576e816243cde7c6740fd68a (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 'drivers/mailbox/sandbox-mbox.c')
-rw-r--r-- | drivers/mailbox/sandbox-mbox.c | 2 |
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, }; |