summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/boardobj
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/boardobj')
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobj.h6
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobjgrp.c6
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.h1
-rw-r--r--drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h1
4 files changed, 5 insertions, 9 deletions
diff --git a/drivers/gpu/nvgpu/boardobj/boardobj.h b/drivers/gpu/nvgpu/boardobj/boardobj.h
index a445a2c6..f2ae52e6 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobj.h
+++ b/drivers/gpu/nvgpu/boardobj/boardobj.h
@@ -14,11 +14,11 @@
14#ifndef _BOARDOBJ_H_ 14#ifndef _BOARDOBJ_H_
15#define _BOARDOBJ_H_ 15#define _BOARDOBJ_H_
16 16
17struct boardobj; 17#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h>
18 18
19#include "gk20a/pmu_gk20a.h"
20#include "ctrl/ctrlboardobj.h" 19#include "ctrl/ctrlboardobj.h"
21#include <nvgpu/pmuif/nvgpu_gpmu_cmdif.h> 20
21struct boardobj;
22 22
23/* 23/*
24* check whether the specified BOARDOBJ object implements the queried 24* check whether the specified BOARDOBJ object implements the queried
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp.c b/drivers/gpu/nvgpu/boardobj/boardobjgrp.c
index d2fb8a45..51c23589 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobjgrp.c
+++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp.c
@@ -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,
@@ -10,15 +10,13 @@
10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
11* more details. 11* more details.
12*/ 12*/
13#include <nvgpu/bug.h>
13 14
14#include "gk20a/gk20a.h" 15#include "gk20a/gk20a.h"
15#include "gk20a/pmu_gk20a.h"
16#include "boardobjgrp.h" 16#include "boardobjgrp.h"
17#include "ctrl/ctrlboardobj.h" 17#include "ctrl/ctrlboardobj.h"
18#include "boardobj.h" 18#include "boardobj.h"
19 19
20#include <nvgpu/bug.h>
21
22static boardobjgrp_objinsert boardobjgrp_objinsert_final; 20static boardobjgrp_objinsert boardobjgrp_objinsert_final;
23static boardobjgrp_objgetbyidx boardobjgrp_objgetbyidx_final; 21static boardobjgrp_objgetbyidx boardobjgrp_objgetbyidx_final;
24static boardobjgrp_objgetnext boardobjgrp_objgetnext_final; 22static boardobjgrp_objgetnext boardobjgrp_objgetnext_final;
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.h b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.h
index 059b224d..93e9d4b0 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.h
+++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e255.h
@@ -14,7 +14,6 @@
14#ifndef _BOARDOBJGRP_E255_H_ 14#ifndef _BOARDOBJGRP_E255_H_
15#define _BOARDOBJGRP_E255_H_ 15#define _BOARDOBJGRP_E255_H_
16 16
17#include "gk20a/pmu_gk20a.h"
18#include "ctrl/ctrlboardobj.h" 17#include "ctrl/ctrlboardobj.h"
19#include "boardobj.h" 18#include "boardobj.h"
20#include "boardobjgrpmask.h" 19#include "boardobjgrpmask.h"
diff --git a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h
index fb114024..62498f79 100644
--- a/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h
+++ b/drivers/gpu/nvgpu/boardobj/boardobjgrp_e32.h
@@ -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/pmu_gk20a.h"
18#include "ctrl/ctrlboardobj.h" 17#include "ctrl/ctrlboardobj.h"
19#include "boardobj.h" 18#include "boardobj.h"
20#include "boardobjgrp.h" 19#include "boardobjgrp.h"