summaryrefslogtreecommitdiff
path: root/drivers/clk/clk_sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:35:54 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commitfb8c0d595f1ad83bee5dd398b59b0ee16d8d15a9 (patch)
tree20433c50f588b035d679ce1774c08c368a5da3aa /drivers/clk/clk_sandbox.c
parent093152f275e036e54d48b3d9fc0adbc1ca4cc5b0 (diff)
clk: 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/clk/clk_sandbox.c')
-rw-r--r--drivers/clk/clk_sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/clk_sandbox.c b/drivers/clk/clk_sandbox.c
index de6b2f7c82..cc084b0644 100644
--- a/drivers/clk/clk_sandbox.c
+++ b/drivers/clk/clk_sandbox.c
@@ -107,7 +107,7 @@ static struct clk_ops sandbox_clk_ops = {
.enable = sandbox_clk_enable,
.disable = sandbox_clk_disable,
.request = sandbox_clk_request,
- .free = sandbox_clk_free,
+ .rfree = sandbox_clk_free,
};
static int sandbox_clk_probe(struct udevice *dev)