diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-01-30 16:12:59 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-08 09:05:01 +0100 |
commit | bdf5be35d7b7d4b74de0e101e9b874d41235b157 (patch) | |
tree | 118bc5bcced98d94ee3651163545aee535026420 | |
parent | 69b589a00aa6e3324547bbc73f9f659e28c709f9 (diff) | |
download | barebox-bdf5be35d7b7d4b74de0e101e9b874d41235b157.tar.gz barebox-bdf5be35d7b7d4b74de0e101e9b874d41235b157.tar.xz |
FIT: Use const dtb unflatten variant
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | common/image-fit.c | 2 |
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); |