Commit 4cf7f1298970d6ff78c3c8d0a761f33e67f3cb00

Authored by Simon Glass
Committed by Tom Rini
1 parent 17401f87e7

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>

Showing 2 changed files with 4 additions and 4 deletions Side-by-side Diff

... ... @@ -15,10 +15,6 @@
15 15  
16 16 #ifndef __ASSEMBLY__ /* put C only stuff in this section */
17 17  
18   -typedef volatile unsigned long vu_long;
19   -typedef volatile unsigned short vu_short;
20   -typedef volatile unsigned char vu_char;
21   -
22 18 #include <config.h>
23 19 #include <errno.h>
24 20 #include <time.h>
include/linux/types.h
... ... @@ -163,5 +163,9 @@
163 163 #define DECLARE_BITMAP(name, bits) \
164 164 unsigned long name[BITS_TO_LONGS(bits)]
165 165  
  166 +typedef volatile unsigned long vu_long;
  167 +typedef volatile unsigned short vu_short;
  168 +typedef volatile unsigned char vu_char;
  169 +
166 170 #endif /* _LINUX_TYPES_H */