aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:44:53 -0700
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:48 +0530
commit1318a0efade80d853e27280adcaf4812d16c742f (patch)
tree1d86f466ec8980c02592310a9b0295c07327580d /include
parent2fd94aa0f6d4f41d2d13838b9cbd4a21738dccfe (diff)
downloadu-boot-1318a0efade80d853e27280adcaf4812d16c742f.zip
u-boot-1318a0efade80d853e27280adcaf4812d16c742f.tar.gz
u-boot-1318a0efade80d853e27280adcaf4812d16c742f.tar.bz2
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>
Diffstat (limited to 'include')
-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 691dc17..4ee14f7 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 bd912bc..baa2c49 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 */