From: Simon Glass Date: Sat, 28 Dec 2019 17:44:53 +0000 (-0700) Subject: common: Move type declarations to linux/types.h X-Git-Tag: v2020.04-rc1~6^2~30 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1318a0efade80d853e27280adcaf4812d16c742f;p=oweals%2Fu-boot.git 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 --- 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 #include #include 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 */