summaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorDeepak Nibade <dnibade@nvidia.com>2017-04-19 03:00:54 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2017-04-19 15:15:57 -0400
commit8929ab75332dae81ce75a417b2e2faf59df6fd31 (patch)
treed2101221f98e5ee6a433e00ea74532e958171404 /drivers/gpu
parenta54fee533a2e3244343642b1ba1b211e2b53961c (diff)
gpu: nvgpu: clean up linux list includes
Remove linux list includes <linux/list.h> and include <nvgpu/list.h> since we now use nvgpu list APIs instead of linux APIs Jira NVGPU-13 Change-Id: I59bd433a9bc5c15d4c40e6fe4b18cf44246ba3b2 Signed-off-by: Deepak Nibade <dnibade@nvidia.com> Reviewed-on: http://git-master/r/1462080 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com> GVS: Gerrit_Virtual_Submit Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r--drivers/gpu/nvgpu/common/linux/ioctl_channel.c2
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_gk20a.c1
-rw-r--r--drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c2
-rw-r--r--drivers/gpu/nvgpu/include/nvgpu/semaphore.h2
4 files changed, 4 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
index 8da9eacb..79cea30c 100644
--- a/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
+++ b/drivers/gpu/nvgpu/common/linux/ioctl_channel.c
@@ -16,7 +16,6 @@
16 * along with this program. If not, see <http://www.gnu.org/licenses/>. 16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */ 17 */
18 18
19#include <linux/list.h>
20#include <trace/events/gk20a.h> 19#include <trace/events/gk20a.h>
21#include <linux/file.h> 20#include <linux/file.h>
22#include <linux/anon_inodes.h> 21#include <linux/anon_inodes.h>
@@ -26,6 +25,7 @@
26#include <nvgpu/timers.h> 25#include <nvgpu/timers.h>
27#include <nvgpu/kmem.h> 26#include <nvgpu/kmem.h>
28#include <nvgpu/log.h> 27#include <nvgpu/log.h>
28#include <nvgpu/list.h>
29 29
30#include "gk20a/gk20a.h" 30#include "gk20a/gk20a.h"
31#include "gk20a/debug_gk20a.h" 31#include "gk20a/debug_gk20a.h"
diff --git a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
index 97bd1889..74c4f619 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_gk20a.c
@@ -28,6 +28,7 @@
28#include <nvgpu/log.h> 28#include <nvgpu/log.h>
29#include <nvgpu/atomic.h> 29#include <nvgpu/atomic.h>
30#include <nvgpu/bug.h> 30#include <nvgpu/bug.h>
31#include <nvgpu/list.h>
31 32
32#include "gk20a.h" 33#include "gk20a.h"
33#include "debug_gk20a.h" 34#include "debug_gk20a.h"
diff --git a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
index 98f7dde2..b509c5c4 100644
--- a/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/channel_sync_gk20a.c
@@ -15,7 +15,6 @@
15 15
16#include <linux/gk20a.h> 16#include <linux/gk20a.h>
17 17
18#include <linux/list.h>
19#include <linux/version.h> 18#include <linux/version.h>
20 19
21#include <nvgpu/semaphore.h> 20#include <nvgpu/semaphore.h>
@@ -23,6 +22,7 @@
23#include <nvgpu/log.h> 22#include <nvgpu/log.h>
24#include <nvgpu/atomic.h> 23#include <nvgpu/atomic.h>
25#include <nvgpu/bug.h> 24#include <nvgpu/bug.h>
25#include <nvgpu/list.h>
26 26
27#include "channel_sync_gk20a.h" 27#include "channel_sync_gk20a.h"
28#include "gk20a.h" 28#include "gk20a.h"
diff --git a/drivers/gpu/nvgpu/include/nvgpu/semaphore.h b/drivers/gpu/nvgpu/include/nvgpu/semaphore.h
index 8e939e72..f197a918 100644
--- a/drivers/gpu/nvgpu/include/nvgpu/semaphore.h
+++ b/drivers/gpu/nvgpu/include/nvgpu/semaphore.h
@@ -14,7 +14,6 @@
14#ifndef SEMAPHORE_GK20A_H 14#ifndef SEMAPHORE_GK20A_H
15#define SEMAPHORE_GK20A_H 15#define SEMAPHORE_GK20A_H
16 16
17#include <linux/list.h>
18#include <linux/delay.h> 17#include <linux/delay.h>
19 18
20#include <nvgpu/log.h> 19#include <nvgpu/log.h>
@@ -22,6 +21,7 @@
22#include <nvgpu/atomic.h> 21#include <nvgpu/atomic.h>
23#include <nvgpu/bug.h> 22#include <nvgpu/bug.h>
24#include <nvgpu/kref.h> 23#include <nvgpu/kref.h>
24#include <nvgpu/list.h>
25 25
26#include "gk20a/gk20a.h" 26#include "gk20a/gk20a.h"
27#include "gk20a/mm_gk20a.h" 27#include "gk20a/mm_gk20a.h"