summaryrefslogtreecommitdiffstats
path: root/drivers/power/domain/ti-sci-power-domain.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/ti-sci-power-domain.c
parentcc92c3cc68a9053f53b2814e9233d86553cc998e (diff)
downloadu-boot-4f51188e47921b17e6b3ce9606c8e71234c9f2df.tar.gz
u-boot-4f51188e47921b17e6b3ce9606c8e71234c9f2df.tar.xz
u-boot-4f51188e47921b17e6b3ce9606c8e71234c9f2df.zip
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/ti-sci-power-domain.c')
-rw-r--r--drivers/power/domain/ti-sci-power-domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/power/domain/ti-sci-power-domain.c b/drivers/power/domain/ti-sci-power-domain.c
index 4c4351d2d9..b59af2b13b 100644
--- a/drivers/power/domain/ti-sci-power-domain.c
+++ b/drivers/power/domain/ti-sci-power-domain.c
@@ -120,7 +120,7 @@ static const struct udevice_id ti_sci_power_domain_of_match[] = {
static struct power_domain_ops ti_sci_power_domain_ops = {
.request = ti_sci_power_domain_request,
- .free = ti_sci_power_domain_free,
+ .rfree = ti_sci_power_domain_free,
.on = ti_sci_power_domain_on,
.off = ti_sci_power_domain_off,
.of_xlate = ti_sci_power_domain_of_xlate,