From 7e1dbd8303f40292cd406671a835764b16153e99 Mon Sep 17 00:00:00 2001 From: Debarshi Dutta Date: Mon, 24 Sep 2018 16:51:33 +0530 Subject: gpu: nvgpu: move header location of gk20a.h 1) Update header path of gk20a.h files present in os/ to 2) os_fence_android_sema.c indirectly was dependent on gk20a.h via semaphore.h. So, added #include in os_fence_android_sema.c and replaced the header with forward declaration of struct gk20a in semaphore.h Jira NVGPU-597 Change-Id: I96e23befeb80713f3a399071eb5498f6f580211d Signed-off-by: Debarshi Dutta Reviewed-on: https://git-master.nvidia.com/r/1842868 Reviewed-by: svc-misra-checker GVS: Gerrit_Virtual_Submit Reviewed-by: Konsta Holtta Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Alex Waterman Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/include/nvgpu/semaphore.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/include') diff --git a/drivers/gpu/nvgpu/include/nvgpu/semaphore.h b/drivers/gpu/nvgpu/include/nvgpu/semaphore.h index 3239551f..94e3be0c 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/semaphore.h +++ b/drivers/gpu/nvgpu/include/nvgpu/semaphore.h @@ -29,9 +29,10 @@ #include #include -#include "gk20a/gk20a.h" #include "gk20a/mm_gk20a.h" +struct gk20a; + #define gpu_sema_dbg(g, fmt, args...) \ nvgpu_log(g, gpu_dbg_sema, fmt, ##args) #define gpu_sema_verbose_dbg(g, fmt, args...) \ -- cgit v1.2.2