Skip to content

Commit

Permalink
FIT: Use const dtb unflatten variant
Browse files Browse the repository at this point in the history
Signed-off-by: Sascha Hauer <[email protected]>
  • Loading branch information
saschahauer committed Feb 8, 2018
1 parent 69b589a commit bdf5be3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/image-fit.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit bdf5be3

Please sign in to comment.