summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-05-11 05:16:32 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-05-12 09:24:27 -0400
commit677edcd6ec16298722b1402d92bd493e68bc0299 (patch)
tree11153be9483a2b5effb30f27c021f2f6a080ea71 /drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h
parentcf143b6b7cbda7f43f6368d89672d241bc40e847 (diff)
gpu: nvgpu: fix recursion in included headers from boardobjgrp_e32.h
We have this recursion in headers as pointed by Coverity gk20a/gk20a.h" includes itself: gk20a.h -> clk.h -> clk_vin.h -> boardobjgrp_e32.h -> gk20a.h Fix this by removing gk20a.h header from boardobjgrp_e32.h Also remove unused header gk20a.h from boardobjgrp_e255.h too Coverity id : 2513065 Bug 200291879 Change-Id: I4bee04f064dfb8b02026de9b5a07429b1f48d0a0 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1479883 Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h')
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h
index 3f8e93f9..fb114024 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h
+++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.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,
@@ -14,7 +14,6 @@
14#ifndef _BOARDOBJGRP_E32_H_ 14#ifndef _BOARDOBJGRP_E32_H_
15#define _BOARDOBJGRP_E32_H_ 15#define _BOARDOBJGRP_E32_H_
16 16
17#include "gk20a/gk20a.h"
18#include "gk20a/pmu_gk20a.h" 17#include "gk20a/pmu_gk20a.h"
19#include "ctrl/ctrlboardobj.h" 18#include "ctrl/ctrlboardobj.h"
20#include "boardobj.h" 19#include "boardobj.h"