diff options
author | Thomas Fleury <tfleury@nvidia.com> | 2017-08-16 14:34:06 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-08-18 11:32:46 -0400 |
commit | 612332a0c51810839204af8b96bc33558f183bc4 (patch) | |
tree | 328f2a6fe8813f1840792454a7490d4482566710 /drivers/gpu/nvgpu/clk | |
parent | a0be159e69d5bfdb31fa87943151437d03736683 (diff) |
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 <tfleury@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1539690
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Richard Zhao <rizhao@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Alex Waterman <alexw@nvidia.com>
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/clk')
-rw-r--r-- | drivers/gpu/nvgpu/clk/clk_arb.h | 6 |
1 files 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 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. | 2 | * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved. |
3 | * | 3 | * |
4 | * This program is free software; you can redistribute it and/or modify it | 4 | * This program is free software; you can redistribute it and/or modify it |
5 | * under the terms and conditions of the GNU General Public License, | 5 | * under the terms and conditions of the GNU General Public License, |
@@ -11,12 +11,10 @@ | |||
11 | * more details. | 11 | * more details. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include "gk20a/gk20a.h" | ||
15 | |||
16 | #ifndef _CLK_ARB_H_ | 14 | #ifndef _CLK_ARB_H_ |
17 | #define _CLK_ARB_H_ | 15 | #define _CLK_ARB_H_ |
18 | 16 | ||
19 | struct nvgpu_clk_arb; | 17 | struct gk20a; |
20 | struct nvgpu_clk_session; | 18 | struct nvgpu_clk_session; |
21 | 19 | ||
22 | int nvgpu_clk_arb_init_arbiter(struct gk20a *g); | 20 | int nvgpu_clk_arb_init_arbiter(struct gk20a *g); |