summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-hisi/platmcpm.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-hisi/platmcpm.c')
-rw-r--r--arch/arm/mach-hisi/platmcpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-hisi/platmcpm.c b/arch/arm/mach-hisi/platmcpm.c
index 96a484095194..258586e31333 100644
--- a/arch/arm/mach-hisi/platmcpm.c
+++ b/arch/arm/mach-hisi/platmcpm.c
@@ -339,7 +339,7 @@ err_fabric:
err_sysctrl:
iounmap(relocation);
err_reloc:
- memblock_free(hip04_boot_method[0], hip04_boot_method[1]);
+ memblock_phys_free(hip04_boot_method[0], hip04_boot_method[1]);
err:
return ret;
}