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/timers.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'drivers/gpu/nvgpu/os/linux/timers.c') diff --git a/drivers/gpu/nvgpu/os/linux/timers.c b/drivers/gpu/nvgpu/os/linux/timers.c index d1aa641f..018fd2d8 100644 --- a/drivers/gpu/nvgpu/os/linux/timers.c +++ b/drivers/gpu/nvgpu/os/linux/timers.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2016-2018, NVIDIA CORPORATION. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, @@ -19,8 +19,7 @@ #include #include - -#include "gk20a/gk20a.h" +#include #include "platform_gk20a.h" -- cgit v1.2.2