From f116320137b0eb835bcbf704d34fc8f7880595d2 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 31 Mar 2017 13:11:29 -0700 Subject: gpu: nvgpu: Add wrapper for linux/types.h Add wrapper header nvgpu/types.h. It checks if build is for Linux kernel and pulls in linux/types.h. Delete also all #includes for linux/types.h which are not strictly necessary, and change the remaining ones to use the new wrapper. JIRA NVGPU-13 Change-Id: I1ddfef0b0b9d840e3e41a62f69c7cb9148d2d5fa Signed-off-by: Terje Bergstrom Reviewed-on: http://git-master/r/1453371 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp10b/gp10b_gating_reglist.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gp10b/gp10b_gating_reglist.c') diff --git a/drivers/gpu/nvgpu/gp10b/gp10b_gating_reglist.c b/drivers/gpu/nvgpu/gp10b/gp10b_gating_reglist.c index 563819de..afb933e9 100644 --- a/drivers/gpu/nvgpu/gp10b/gp10b_gating_reglist.c +++ b/drivers/gpu/nvgpu/gp10b/gp10b_gating_reglist.c @@ -20,7 +20,6 @@ #ifndef __gp10b_gating_reglist_h__ #define __gp10b_gating_reglist_h__ -#include #include "gp10b_gating_reglist.h" struct gating_desc { -- cgit v1.2.2