From 3f27b8f0891cf317b0607f221101a144cab48f8d Mon Sep 17 00:00:00 2001 From: Alex Waterman Date: Tue, 22 May 2018 12:08:37 -0700 Subject: gpu: nvgpu: Use proper include path for clockgating header Instead of referencing the header from $NVGPU/drivers/gpu/nvgpu/common reference it from $NVGPU/drivers/gpu/nvgpu. This makes the POSIX compilation happy since we don't do a -Idrivers/gpu/nvgpu/common. Not sure exactly why the regular kernbel build does this but it probably should not. Change-Id: I00aee373b651e3b7710669fa04c5b75fc1c814d9 Signed-off-by: Alex Waterman Reviewed-on: https://git-master.nvidia.com/r/1727426 GVS: Gerrit_Virtual_Submit Reviewed-by: Vinod Gopalakrishnakurup Reviewed-by: Terje Bergstrom Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/gm20b/hal_gm20b.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'drivers/gpu/nvgpu/gm20b') diff --git a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c index 9fa6b6cc..f96c576b 100644 --- a/drivers/gpu/nvgpu/gm20b/hal_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/hal_gm20b.c @@ -22,6 +22,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include "common/clock_gating/gm20b_gating_reglist.h" + #include "gk20a/gk20a.h" #include "gk20a/ce2_gk20a.h" #include "gk20a/dbg_gpu_gk20a.h" @@ -43,7 +45,6 @@ #include "gr_gm20b.h" #include "ltc_gm20b.h" #include "fb_gm20b.h" -#include "clock_gating/gm20b_gating_reglist.h" #include "fifo_gm20b.h" #include "gr_ctx_gm20b.h" #include "mm_gm20b.h" -- cgit v1.2.2