forked from Imagelibrary/rtems
Correct a missing space in a fdt_header cast
The code style here is slightly incorrect. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
committed by
Sebastian Huber
parent
8f6fb28c36
commit
8bbd8c784d
@@ -188,7 +188,7 @@ int fdt_next_subnode(const void *fdt, int offset);
|
|||||||
#define __fdt_set_hdr(name) \
|
#define __fdt_set_hdr(name) \
|
||||||
static inline void fdt_set_##name(void *fdt, uint32_t val) \
|
static inline void fdt_set_##name(void *fdt, uint32_t val) \
|
||||||
{ \
|
{ \
|
||||||
struct fdt_header *fdth = (struct fdt_header*)fdt; \
|
struct fdt_header *fdth = (struct fdt_header *)fdt; \
|
||||||
fdth->name = cpu_to_fdt32(val); \
|
fdth->name = cpu_to_fdt32(val); \
|
||||||
}
|
}
|
||||||
__fdt_set_hdr(magic);
|
__fdt_set_hdr(magic);
|
||||||
|
|||||||
Reference in New Issue
Block a user