diff --git a/common/image-fit.c b/common/image-fit.c index 3fab52d..6cbf232 100644 --- a/common/image-fit.c +++ b/common/image-fit.c @@ -695,7 +695,7 @@ 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);