diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-06 20:12:48 -0700 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-03-07 15:34:00 +1100 |
commit | beef80b8b55f32e5d3338ac13429382336e38ead (patch) | |
tree | da0bab7fe0c14f358a1791a9f04fb308ef22c15e /libfdt/libfdt.h | |
parent | 68d43cec125334f45bda39f819375072d4b4aea4 (diff) | |
download | dtc-beef80b8b55f32e5d3338ac13429382336e38ead.zip dtc-beef80b8b55f32e5d3338ac13429382336e38ead.tar.gz dtc-beef80b8b55f32e5d3338ac13429382336e38ead.tar.bz2 |
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>
Diffstat (limited to 'libfdt/libfdt.h')
-rw-r--r-- | libfdt/libfdt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libfdt/libfdt.h b/libfdt/libfdt.h index 2c7b4e8..36222fd 100644 --- a/libfdt/libfdt.h +++ b/libfdt/libfdt.h @@ -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); |