From 29df4f3da6232e9e3e8916d7b6d7587af7f92360 Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Fri, 9 Mar 2018 13:07:39 -0800 Subject: gpu: nvgpu: gp106 and missing types.h header fixes Multiple places were missing explicit includes but used various types anyway. Fix that by including where necessary. A gp106 file directly used the Linux delay header instead of including . This patch fixes both problems. JIRA NVGPU-525 Change-Id: Ib7a30a8ed9098d469d646c0a2bba293087b8de90 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1673821 Reviewed-by: svc-mobile-coverity Reviewed-by: Konsta Holtta GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gp106/mclk_gp106.c | 2 +- drivers/gpu/nvgpu/gp106/xve_gp106.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gp106') diff --git a/drivers/gpu/nvgpu/gp106/mclk_gp106.c b/drivers/gpu/nvgpu/gp106/mclk_gp106.c index 600f9c30..1e3e0de8 100644 --- a/drivers/gpu/nvgpu/gp106/mclk_gp106.c +++ b/drivers/gpu/nvgpu/gp106/mclk_gp106.c @@ -20,11 +20,11 @@ * DEALINGS IN THE SOFTWARE. */ -#include #include #include #include +#include #include "gk20a/gk20a.h" #ifdef CONFIG_DEBUG_FS diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.h b/drivers/gpu/nvgpu/gp106/xve_gp106.h index 413dd8cd..d48b0991 100644 --- a/drivers/gpu/nvgpu/gp106/xve_gp106.h +++ b/drivers/gpu/nvgpu/gp106/xve_gp106.h @@ -26,6 +26,7 @@ #include "gk20a/gk20a.h" #include +#include int gp106_init_xve_ops(struct gpu_ops *gops); -- cgit v1.2.2