From 33bd07db7ddceb715be65e56604195721ff4da77 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Tue, 7 Nov 2017 08:50:22 -0800 Subject: gpu: nvgpu: Fix type defs in dbg_gpu_gk20a.h dbg_gpu_gk20a.h used implictly definitions that it did not forward declare or #include definitions for. Also regops_whitelist fields were unused. The type itself is not defined anywhere. Delete the fields. Change-Id: I4b002247c67a4ce4cb54810720b0bbc06381bf83 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1593681 Reviewed-by: Automatic_Commit_Validation_User GVS: Gerrit_Virtual_Submit Reviewed-by: Seshendra Gadagottu Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h index d50ce844..781e2176 100644 --- a/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/dbg_gpu_gk20a.h @@ -25,6 +25,12 @@ #define DBG_GPU_H #include +#include +#include + +struct gk20a; +struct channel_gk20a; +struct dbg_session_gk20a; /* used by the interrupt handler to post events */ void gk20a_dbg_gpu_post_events(struct channel_gk20a *fault_ch); @@ -54,14 +60,6 @@ struct dbg_session_gk20a { /* timeouts enabled or disabled */ bool is_timeout_disabled; - /* - * There can be different versions of the whitelists - * between both global and per-context sets; as well - * as between debugger and profiler interfaces. - */ - struct regops_whitelist *global; - struct regops_whitelist *per_context; - struct gk20a *g; /* list of bound channels, if any */ -- cgit v1.2.2