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>
This commit is contained in:
Simon Glass 2019-12-28 10:44:53 -07:00 committed by Tom Rini
parent 17401f87e7
commit 4cf7f12989
2 changed files with 4 additions and 4 deletions

View File

@ -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>

View File

@ -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 */