summaryrefslogtreecommitdiff
path: root/drivers/reset/reset-hsdk.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:35:52 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commit94474b25c3a60a746bf641a975c3db239dae29b9 (patch)
treeead702b0bd11654511ff38e5eefe63a1d368c0b7 /drivers/reset/reset-hsdk.c
parent4f51188e47921b17e6b3ce9606c8e71234c9f2df (diff)
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/reset-hsdk.c')
-rw-r--r--drivers/reset/reset-hsdk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/reset/reset-hsdk.c b/drivers/reset/reset-hsdk.c
index 213d6c87be..f9a432a7a2 100644
--- a/drivers/reset/reset-hsdk.c
+++ b/drivers/reset/reset-hsdk.c
@@ -81,7 +81,7 @@ static int hsdk_reset_noop(struct reset_ctl *rst_ctl)
static const struct reset_ops hsdk_reset_ops = {
.request = hsdk_reset_noop,
- .free = hsdk_reset_noop,
+ .rfree = hsdk_reset_noop,
.rst_assert = hsdk_reset_noop,
.rst_deassert = hsdk_reset_reset,
};