diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-10 14:41:17 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-13 13:57:21 -0500 |
commit | d64241cb5a0ca21ae2c88419d34ad79715a4588a (patch) | |
tree | 504eaab11ef4909093dd389a1cdfdd541882cc77 /drivers/gpu/nvgpu | |
parent | 0b0f80579c01a53768433ed1909d283719427429 (diff) |
gpu: nvgpu: Include UAPI explicitly
Add explicit #includes for <uapi/linux/nvgpu.h> for source code files
that depend on it.
JIRA NVGPU-388
Change-Id: I5d834e6f3b413cee9b1e4e055d710fc9f2c8f7c2
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1596246
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_ctrl_t19x.c | 2 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gv11b/gr_gv11b.c | 1 |
3 files changed, 4 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl_t19x.c b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl_t19x.c index 56756ac9..a04fb5c9 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_ctrl_t19x.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_ctrl_t19x.c | |||
@@ -11,6 +11,8 @@ | |||
11 | * more details. | 11 | * more details. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #include <uapi/linux/nvgpu.h> | ||
15 | |||
14 | #include <nvgpu/types.h> | 16 | #include <nvgpu/types.h> |
15 | #include <nvgpu/enabled.h> | 17 | #include <nvgpu/enabled.h> |
16 | #include <nvgpu/enabled_t19x.h> | 18 | #include <nvgpu/enabled_t19x.h> |
diff --git a/drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c b/drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c index ec7501ce..1c96db69 100644 --- a/drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c +++ b/drivers/gpu/nvgpu/common/linux/ioctl_tsg_t19x.c | |||
@@ -14,6 +14,7 @@ | |||
14 | */ | 14 | */ |
15 | 15 | ||
16 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | #include <uapi/linux/nvgpu.h> | ||
17 | 18 | ||
18 | #include "gk20a/gk20a.h" | 19 | #include "gk20a/gk20a.h" |
19 | 20 | ||
diff --git a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c index 9d97a61f..4da2ef59 100644 --- a/drivers/gpu/nvgpu/gv11b/gr_gv11b.c +++ b/drivers/gpu/nvgpu/gv11b/gr_gv11b.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #include <linux/version.h> | 26 | #include <linux/version.h> |
27 | #include <linux/vmalloc.h> | 27 | #include <linux/vmalloc.h> |
28 | #include <linux/tegra_gpu_t19x.h> | 28 | #include <linux/tegra_gpu_t19x.h> |
29 | #include <uapi/linux/nvgpu.h> | ||
29 | 30 | ||
30 | #include <soc/tegra/fuse.h> | 31 | #include <soc/tegra/fuse.h> |
31 | 32 | ||