summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:53 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 13:27:25 -0500
commit4cf7f1298970d6ff78c3c8d0a761f33e67f3cb00 (patch)
tree499b360521efdf6cd8a25ef8062a6cd128fefd2b
parent17401f87e76edeb582a040a7f78a991f6d2e10e3 (diff)
downloadu-boot-4cf7f1298970d6ff78c3c8d0a761f33e67f3cb00.tar.gz
u-boot-4cf7f1298970d6ff78c3c8d0a761f33e67f3cb00.tar.xz
u-boot-4cf7f1298970d6ff78c3c8d0a761f33e67f3cb00.zip
common: Move type declarations to linux/types.h
This file already has lots of type declarations so it seems better to put all of them there. Move them. Signed-off-by: Simon Glass <sjg@chromium.org>
-rw-r--r--include/common.h4
-rw-r--r--include/linux/types.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/common.h b/include/common.h
index 691dc173c0..4ee14f78d0 100644
--- a/include/common.h
+++ b/include/common.h
@@ -15,10 +15,6 @@
#ifndef __ASSEMBLY__ /* put C only stuff in this section */
-typedef volatile unsigned long vu_long;
-typedef volatile unsigned short vu_short;
-typedef volatile unsigned char vu_char;
-
#include <config.h>
#include <errno.h>
#include <time.h>
diff --git a/include/linux/types.h b/include/linux/types.h
index bd912bcb42..baa2c491ea 100644
--- a/include/linux/types.h
+++ b/include/linux/types.h
@@ -163,4 +163,8 @@ struct ustat {
#define DECLARE_BITMAP(name, bits) \
unsigned long name[BITS_TO_LONGS(bits)]
+typedef volatile unsigned long vu_long;
+typedef volatile unsigned short vu_short;
+typedef volatile unsigned char vu_char;
+
#endif /* _LINUX_TYPES_H */