]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/fdt_support.c
Merge git://git.denx.de/u-boot-fdt
[karo-tx-uboot.git] / common / fdt_support.c
index a405cb8039b0a753afe0a8747f8257edd3f5f9c2..ce32fe73aff2c7d42d683ee71bf4f4eedfcf6a81 100644 (file)
@@ -1178,7 +1178,8 @@ int fdt_node_offset_by_compat_reg(void *blob, const char *compat,
  */
 int fdt_alloc_phandle(void *blob)
 {
-       int offset, phandle = 0;
+       int offset;
+       uint32_t phandle = 0;
 
        for (offset = fdt_next_node(blob, -1, NULL); offset >= 0;
             offset = fdt_next_node(blob, offset, NULL)) {