aboutsummaryrefslogtreecommitdiff
path: root/include/libfdt.h
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2022-04-10 15:39:41 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2022-04-10 15:42:04 +0300
commit8aa17b12f29536ea9c8b6ca22c7f153e8d90fa3b (patch)
treee7dba9b6b9cdcd1d04cba639c8f76e9685ac549f /include/libfdt.h
parent4760462d9b3bf2aba8664c57be85f4adbfa164a2 (diff)
downloadkmi-8aa17b12f29536ea9c8b6ca22c7f153e8d90fa3b.tar.gz
kmi-8aa17b12f29536ea9c8b6ca22c7f153e8d90fa3b.zip
add clang format and run it
Diffstat (limited to 'include/libfdt.h')
-rw-r--r--include/libfdt.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/libfdt.h b/include/libfdt.h
index 602cdcb..b59d6e4 100644
--- a/include/libfdt.h
+++ b/include/libfdt.h
@@ -19,7 +19,8 @@ void __dbg_fdt(const void *fdt, int node_offset, int depth);
#define dbg_fdt(...)
#endif
-#define fdt_load_int_ptr(c, p)\
- ((c) == 2 ? fdt64_to_cpu(*(fdt64_t *)(p)) : fdt32_to_cpu(*(fdt32_t *)(p)))
+#define fdt_load_int_ptr(c, p) \
+ ((c) == 2 ? fdt64_to_cpu(*(fdt64_t *)(p)) : \
+ fdt32_to_cpu(*(fdt32_t *)(p)))
#endif