summaryrefslogtreecommitdiffstats
path: root/cpukit
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-06 20:12:48 -0700
committerSebastian Huber <sebastian.huber@embedded-brains.de>2018-07-19 07:01:08 +0200
commit8bbd8c784d76ccfd2950f026199d9b07a1af69fb (patch)
tree9a29eab33776d36a7d14b84ab96d274258552ee8 /cpukit
parentCorrect line lengths in libfdt.h (diff)
downloadrtems-8bbd8c784d76ccfd2950f026199d9b07a1af69fb.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 'cpukit')
-rw-r--r--cpukit/include/libfdt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/include/libfdt.h b/cpukit/include/libfdt.h
index 2c7b4e876c..36222fd4a6 100644
--- a/cpukit/include/libfdt.h
+++ b/cpukit/include/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);