From 612332a0c51810839204af8b96bc33558f183bc4 Mon Sep 17 00:00:00 2001 From: Thomas Fleury Date: Wed, 16 Aug 2017 11:34:06 -0700 Subject: gpu: nvgpu: fix include file recursion for clk_arb Remove inclusion of gk20a.h from clk_arb.h to fix coverity warning. Bug 200291879 Change-Id: I81e6e193f252ca022155659bfb8413cab62c9f91 Signed-off-by: Thomas Fleury Reviewed-on: https://git-master.nvidia.com/r/1539690 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Richard Zhao GVS: Gerrit_Virtual_Submit Reviewed-by: Alex Waterman Reviewed-by: Terje Bergstrom --- drivers/gpu/nvgpu/clk/clk_arb.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/nvgpu/clk/clk_arb.h b/drivers/gpu/nvgpu/clk/clk_arb.h index 45d8ed73..d73a6687 100644 --- a/drivers/gpu/nvgpu/clk/clk_arb.h +++ b/drivers/gpu/nvgpu/clk/clk_arb.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. + * Copyright (c) 2016-2017, 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, @@ -11,12 +11,10 @@ * more details. */ -#include "gk20a/gk20a.h" - #ifndef _CLK_ARB_H_ #define _CLK_ARB_H_ -struct nvgpu_clk_arb; +struct gk20a; struct nvgpu_clk_session; int nvgpu_clk_arb_init_arbiter(struct gk20a *g); -- cgit v1.2.2