summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/libfdt_env.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/libfdt_env.h')
-rw-r--r--kernel/include/linux/libfdt_env.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/include/linux/libfdt_env.h b/kernel/include/linux/libfdt_env.h
index 01508c7b8..2a663c6bb 100644
--- a/kernel/include/linux/libfdt_env.h
+++ b/kernel/include/linux/libfdt_env.h
@@ -5,6 +5,10 @@
#include <asm/byteorder.h>
+typedef __be16 fdt16_t;
+typedef __be32 fdt32_t;
+typedef __be64 fdt64_t;
+
#define fdt32_to_cpu(x) be32_to_cpu(x)
#define cpu_to_fdt32(x) cpu_to_be32(x)
#define fdt64_to_cpu(x) be64_to_cpu(x)