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 /include/mailbox-uclass.h | |
parent | 3b85ce8ec32910b7576e816243cde7c6740fd68a (diff) | |
download | u-boot-cc92c3cc68a9053f53b2814e9233d86553cc998e.tar.gz |
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.h | 4 |
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 * |