diff options
author | Alex Waterman <alexw@nvidia.com> | 2017-04-06 15:27:24 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-20 19:14:27 -0400 |
commit | 9ca395a36577a330ea0b5f93ffd435de2e71f9e0 (patch) | |
tree | 718c1f461bf9abf4e3f353cb0bcc07c25cd59ac1 /drivers/gpu | |
parent | 11278b0956f0e19b07cc23524dd5c45755a48c5d (diff) |
gpu: nvgpu: Move linux specific header files
Move the Linux specific header files to include/nvgpu/linux/ to keep
the header files more organized. Having tons of Linux specific stuff
pollute the top level include seems like a bad idea.
Change-Id: I4913429c79d49f91c521021e5c0a613db453006a
Signed-off-by: Alex Waterman <alexw@nvidia.com>
Reviewed-on: http://git-master/r/1464074
Reviewed-by: svccoveritychecker <svccoveritychecker@nvidia.com>
Reviewed-by: Konsta Holtta <kholtta@nvidia.com>
GVS: Gerrit_Virtual_Submit
Reviewed-by: Terje Bergstrom <tbergstrom@nvidia.com>
Diffstat (limited to 'drivers/gpu')
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/kmem.h | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/linux/kmem.h (renamed from drivers/gpu/nvgpu/include/nvgpu/kmem_linux.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/linux/lock.h (renamed from drivers/gpu/nvgpu/include/nvgpu/lock_linux.h) | 0 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/include/nvgpu/lock.h | 2 |
4 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/include/nvgpu/kmem.h b/drivers/gpu/nvgpu/include/nvgpu/kmem.h index 3159da8b..cfbc0da5 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/kmem.h +++ b/drivers/gpu/nvgpu/include/nvgpu/kmem.h | |||
@@ -34,7 +34,7 @@ struct gk20a; | |||
34 | * cross OS way of defining the necessary types used by these APIs. Eventually | 34 | * cross OS way of defining the necessary types used by these APIs. Eventually |
35 | * we will need a <nvgpu/types.h> include to handle this. | 35 | * we will need a <nvgpu/types.h> include to handle this. |
36 | */ | 36 | */ |
37 | #include <nvgpu/kmem_linux.h> | 37 | #include <nvgpu/linux/kmem.h> |
38 | 38 | ||
39 | /** | 39 | /** |
40 | * DOC: Kmem cache support | 40 | * DOC: Kmem cache support |
diff --git a/drivers/gpu/nvgpu/include/nvgpu/kmem_linux.h b/drivers/gpu/nvgpu/include/nvgpu/linux/kmem.h index dbafc0ce..dbafc0ce 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/kmem_linux.h +++ b/drivers/gpu/nvgpu/include/nvgpu/linux/kmem.h | |||
diff --git a/drivers/gpu/nvgpu/include/nvgpu/lock_linux.h b/drivers/gpu/nvgpu/include/nvgpu/linux/lock.h index fbf26e9d..fbf26e9d 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/lock_linux.h +++ b/drivers/gpu/nvgpu/include/nvgpu/linux/lock.h | |||
diff --git a/drivers/gpu/nvgpu/include/nvgpu/lock.h b/drivers/gpu/nvgpu/include/nvgpu/lock.h index ad070380..e9d7e81e 100644 --- a/drivers/gpu/nvgpu/include/nvgpu/lock.h +++ b/drivers/gpu/nvgpu/include/nvgpu/lock.h | |||
@@ -17,7 +17,7 @@ | |||
17 | #ifndef NVGPU_LOCK_H | 17 | #ifndef NVGPU_LOCK_H |
18 | #define NVGPU_LOCK_H | 18 | #define NVGPU_LOCK_H |
19 | 19 | ||
20 | #include <nvgpu/lock_linux.h> | 20 | #include <nvgpu/linux/lock.h> |
21 | 21 | ||
22 | /* | 22 | /* |
23 | * struct nvgpu_mutex | 23 | * struct nvgpu_mutex |