diff options
author | Simon Glass <sjg@chromium.org> | 2020-02-03 07:35:52 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2020-02-05 19:33:46 -0700 |
commit | 94474b25c3a60a746bf641a975c3db239dae29b9 (patch) | |
tree | ead702b0bd11654511ff38e5eefe63a1d368c0b7 /drivers/reset/sandbox-reset.c | |
parent | 4f51188e47921b17e6b3ce9606c8e71234c9f2df (diff) | |
download | u-boot-94474b25c3a60a746bf641a975c3db239dae29b9.tar.gz u-boot-94474b25c3a60a746bf641a975c3db239dae29b9.tar.bz2 u-boot-94474b25c3a60a746bf641a975c3db239dae29b9.zip |
reset: 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/reset/sandbox-reset.c')
-rw-r--r-- | drivers/reset/sandbox-reset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/sandbox-reset.c b/drivers/reset/sandbox-reset.c index 40f2654d8e..c03fce3531 100644 --- a/drivers/reset/sandbox-reset.c +++ b/drivers/reset/sandbox-reset.c @@ -79,7 +79,7 @@ static const struct udevice_id sandbox_reset_ids[] = { struct reset_ops sandbox_reset_reset_ops = { .request = sandbox_reset_request, - .free = sandbox_reset_free, + .rfree = sandbox_reset_free, .rst_assert = sandbox_reset_assert, .rst_deassert = sandbox_reset_deassert, }; |