summaryrefslogtreecommitdiff
path: root/drivers/power/domain/meson-gx-pwrc-vpu.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2020-02-03 07:35:51 -0700
committerSimon Glass <sjg@chromium.org>2020-02-05 19:33:46 -0700
commit4f51188e47921b17e6b3ce9606c8e71234c9f2df (patch)
treeb7660b22df03354bb3c1c6812abf3e5f4b22da14 /drivers/power/domain/meson-gx-pwrc-vpu.c
parentcc92c3cc68a9053f53b2814e9233d86553cc998e (diff)
power-domain: 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> Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/power/domain/meson-gx-pwrc-vpu.c')
-rw-r--r--drivers/power/domain/meson-gx-pwrc-vpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/domain/meson-gx-pwrc-vpu.c b/drivers/power/domain/meson-gx-pwrc-vpu.c
index f44e33bacb..bd69aea8dd 100644
--- a/drivers/power/domain/meson-gx-pwrc-vpu.c
+++ b/drivers/power/domain/meson-gx-pwrc-vpu.c
@@ -269,7 +269,7 @@ static int meson_pwrc_vpu_of_xlate(struct power_domain *power_domain,
}
struct power_domain_ops meson_gx_pwrc_vpu_ops = {
- .free = meson_pwrc_vpu_free,
+ .rfree = meson_pwrc_vpu_free,
.off = meson_pwrc_vpu_off,
.on = meson_pwrc_vpu_on,
.request = meson_pwrc_vpu_request,