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/os/linux/io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/os/linux/io.c') diff --git a/drivers/gpu/nvgpu/os/linux/io.c b/drivers/gpu/nvgpu/os/linux/io.c index 4b902f28..3e84e88d 100644 --- a/drivers/gpu/nvgpu/os/linux/io.c +++ b/drivers/gpu/nvgpu/os/linux/io.c @@ -13,9 +13,9 @@ #include #include +#include #include "os_linux.h" -#include "gk20a/gk20a.h" void nvgpu_writel(struct gk20a *g, u32 r, u32 v) { -- cgit v1.2.2