summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/include
diff options
context:
space:
mode:
authorAlex Waterman <alexw@nvidia.com>2018-05-16 19:26:25 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-05-24 14:44:04 -0400
commit226ebab0655876ccd5376ac25b4fa80914aa8d25 (patch)
treef9461afc1cbf2c7b37da81db87adf5f4483f8b6d /drivers/gpu/nvgpu/include
parentac5438d983e6d1b50ba598c277027a331c60d207 (diff)
gpu: nvgpu: Remove __uXX typedefs
Integrity already typedefs these and complains if you override them even with the same underlying type. Since we only use these in the regops_gk20a.h header file (outside of the Linux specific code, that is) this patch just changes the __uXX to uXX. With that we can delete the now unnecessary __uXX defs. JIRA NVGPU-525 Change-Id: I01dd2723b68db2170449342f73c711ee5a589adb Signed-off-by: Alex Waterman <alexw@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1721186 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/include')
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/posix/types.h13
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/posix/types.h b/drivers/gpu/nvgpu/include/nvgpu/posix/types.h
index 3dfcec6c..10754a09 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/posix/types.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/posix/types.h
@@ -38,15 +38,10 @@
38 */ 38 */
39#include <netinet/in.h> 39#include <netinet/in.h>
40 40
41typedef unsigned char __u8; 41typedef unsigned char u8;
42typedef unsigned short __u16; 42typedef unsigned short u16;
43typedef unsigned int __u32; 43typedef unsigned int u32;
44typedef unsigned long long __u64; 44typedef unsigned long long u64;
45
46typedef __u8 u8;
47typedef __u16 u16;
48typedef __u32 u32;
49typedef __u64 u64;
50 45
51typedef char s8; 46typedef char s8;
52typedef short s16; 47typedef short s16;