Browse Source

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>
main
Simon Glass 9 years ago committed by David Gibson
parent
commit
beef80b8b5
  1. 2
      libfdt/libfdt.h

2
libfdt/libfdt.h

@ -188,7 +188,7 @@ int fdt_next_subnode(const void *fdt, int offset); @@ -188,7 +188,7 @@ int fdt_next_subnode(const void *fdt, int offset);
#define __fdt_set_hdr(name) \
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); \
}
__fdt_set_hdr(magic);

Loading…
Cancel
Save