From ea896018364560224f7047417e48b61e1c2bee38 Mon Sep 17 00:00:00 2001 From: Vinod G Date: Wed, 25 Jul 2018 13:08:40 -0700 Subject: gpu: nvgpu: Rearrange some definitions from gk20a header Moved the gk20a_from_as and gk20a_from_pmu definitions from gk20a.h to as.h and pmu.h Correction for MISRA rule 21.1 error in as.h and pmu.h headers JIRA NVGPU-624 Change-Id: I57de604b47afc589a9778fe69e4856ffcabd9dfc Signed-off-by: Vinod G Reviewed-on: https://git-master.nvidia.com/r/1785951 Reviewed-by: Seshendra Gadagottu GVS: Gerrit_Virtual_Submit Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gk20a/gk20a.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'drivers/gpu/nvgpu/gk20a/gk20a.h') diff --git a/drivers/gpu/nvgpu/gk20a/gk20a.h b/drivers/gpu/nvgpu/gk20a/gk20a.h index 13c8928f..2f940553 100644 --- a/drivers/gpu/nvgpu/gk20a/gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gk20a.h @@ -1650,9 +1650,6 @@ enum gk20a_nonstall_ops { void __nvgpu_check_gpu_state(struct gk20a *g); void __gk20a_warn_on_no_regs(void); -struct gk20a *gk20a_from_as(struct gk20a_as *as); -struct gk20a *gk20a_from_pmu(struct nvgpu_pmu *pmu); - /* classes that the device supports */ /* TBD: get these from an open-sourced SDK? */ enum { -- cgit v1.2.2