diff options
Diffstat (limited to 'checks.c')
-rw-r--r-- | checks.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -363,7 +363,7 @@ static void fixup_phandle_references(struct check *c, struct node *dt, } phandle = get_node_phandle(dt, refnode); - *((cell_t *)(prop->val.val + m->offset)) = cpu_to_be32(phandle); + *((cell_t *)(prop->val.val + m->offset)) = cpu_to_fdt32(phandle); } } CHECK(phandle_references, NULL, NULL, fixup_phandle_references, NULL, ERROR, |