projects
/
platform
/
kernel
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-ti
[platform/kernel/u-boot.git]
/
include
/
libfdt.h
diff --git
a/include/libfdt.h
b/include/libfdt.h
index
ce374fd
..
d23d40e
100644
(file)
--- a/
include/libfdt.h
+++ b/
include/libfdt.h
@@
-156,7
+156,7
@@
int fdt_next_node(const void *fdt, int offset, int *depth);
#define __fdt_set_hdr(name) \
static inline void fdt_set_##name(void *fdt, uint32_t val) \
{ \
#define __fdt_set_hdr(name) \
static inline void fdt_set_##name(void *fdt, uint32_t val) \
{ \
- struct fdt_header *fdth = fdt; \
+ struct fdt_header *fdth =
(struct fdt_header*)
fdt; \
fdth->name = cpu_to_fdt32(val); \
}
__fdt_set_hdr(magic);
fdth->name = cpu_to_fdt32(val); \
}
__fdt_set_hdr(magic);