summaryrefslogtreecommitdiffstats
path: root/common/image-fit.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/image-fit.c')
-rw-r--r--common/image-fit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-fit.c b/common/image-fit.c
index 3fab52db2e..6cbf23250d 100644
--- a/common/image-fit.c
+++ b/common/image-fit.c
@@ -695,7 +695,7 @@ static int fit_do_open(struct fit_handle *handle)
const char *desc = "(no description)";
struct device_node *root;
- root = of_unflatten_dtb(handle->fit);
+ root = of_unflatten_dtb_const(handle->fit);
if (IS_ERR(root))
return PTR_ERR(root);