summaryrefslogtreecommitdiff
path: root/lib/libfdt/fdt_wip.c
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2013-01-16 13:59:50 +0000
committerGerald Van Baren <gvb@unssw.com>2013-02-07 20:38:55 -0500
commitb2ba62a1aa7f2b68c418cf44ab15eee718913272 (patch)
treebff596e4205ca600bc5948901b9f675791f5775e /lib/libfdt/fdt_wip.c
parent71bbb3df90740fb7aa7edaaf7445c304aed69db8 (diff)
libfdt: update from upstream dtc commit 142419e
commit 142419e "dtc/libfdt: sparse fixes", for u-boot's libfdt copy. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Cc: Jerry Van Baren <gvb.uboot@gmail.com>
Diffstat (limited to 'lib/libfdt/fdt_wip.c')
-rw-r--r--lib/libfdt/fdt_wip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libfdt/fdt_wip.c b/lib/libfdt/fdt_wip.c
index e373677c50..63e67b78c8 100644
--- a/lib/libfdt/fdt_wip.c
+++ b/lib/libfdt/fdt_wip.c
@@ -78,7 +78,7 @@ int fdt_setprop_inplace(void *fdt, int nodeoffset, const char *name,
static void _fdt_nop_region(void *start, int len)
{
- uint32_t *p;
+ fdt32_t *p;
for (p = start; (char *)p < ((char *)start + len); p++)
*p = cpu_to_fdt32(FDT_NOP);