From bdf5be35d7b7d4b74de0e101e9b874d41235b157 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 30 Jan 2018 16:12:59 +0100 Subject: FIT: Use const dtb unflatten variant Signed-off-by: Sascha Hauer --- common/image-fit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3