summaryrefslogtreecommitdiffstats
path: root/drivers/staging/unisys/include/commontypes.h
diff options
context:
space:
mode:
authorBenjamin Romer2014-07-31 18:00:50 +0200
committerGreg Kroah-Hartman2014-08-01 23:38:44 +0200
commitb3c55b13a1e458878e813c4fe2cccfa97c75f884 (patch)
tree9afe081bfacb7678eb91dbe86a2f6bb62869c8d4 /drivers/staging/unisys/include/commontypes.h
parentstaging: unisys: remove U16 type (diff)
downloadkernel-qcow2-linux-b3c55b13a1e458878e813c4fe2cccfa97c75f884.tar.gz
kernel-qcow2-linux-b3c55b13a1e458878e813c4fe2cccfa97c75f884.tar.xz
kernel-qcow2-linux-b3c55b13a1e458878e813c4fe2cccfa97c75f884.zip
staging: unisys: remove U32 type
This patch switches all use of the U32 typedef to use the kernel's u32 type instead. Signed-off-by: Benjamin Romer <benjamin.romer@unisys.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/unisys/include/commontypes.h')
-rw-r--r--drivers/staging/unisys/include/commontypes.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/staging/unisys/include/commontypes.h b/drivers/staging/unisys/include/commontypes.h
index 2c49b9d01694..48da47fcd8d1 100644
--- a/drivers/staging/unisys/include/commontypes.h
+++ b/drivers/staging/unisys/include/commontypes.h
@@ -30,7 +30,6 @@
#include <syslog.h>
#endif
-#define U32 uint32_t
#define U64 uint64_t
#define S8 int8_t
#define S16 int16_t
@@ -40,7 +39,7 @@
#ifdef __KERNEL__
#ifdef CONFIG_X86_32
-#define UINTN U32
+#define UINTN u32
#else
#define UINTN U64
#endif
@@ -49,7 +48,7 @@
#include <stdint.h>
#if __WORDSIZE == 32
-#define UINTN U32
+#define UINTN u32
#elif __WORDSIZE == 64
#define UINTN U64
#else
@@ -121,7 +120,7 @@ typedef U64 GUEST_PHYSICAL_ADDRESS;
fil, lin); \
} while (0)
-#define CHANNEL_U32_MISMATCH(chType, chName, field, expected, actual, fil, \
+#define CHANNEL_u32_MISMATCH(chType, chName, field, expected, actual, fil, \
lin, logCtx) \
do { \
syslog(LOG_USER | LOG_ERR, \