diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-11-10 14:38:41 -0500 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-11-16 17:45:57 -0500 |
commit | 3590080109511b203e9a9187f83aef61513d3d1a (patch) | |
tree | bafc6d6b5c79231398bb09e75848d9a1cc95a39a /drivers | |
parent | 803f1d404e3147624b570b05e297ce98569b1b73 (diff) |
gpu: nvgpu: Do not include UAPI in gr_gk20a.h
Remove #include of <uapi/linux/nvgpu.h> from gr_gk20a.h.
vgpu_mm_gp10b.c uses UAPI definitions, so add an explicit #include
there.
JIRA NVGPU-363
Change-Id: Ieabd7240d62495d2719d7fdbc25cc238de13c75e
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1598981
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/nvgpu/gk20a/gr_gk20a.h | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h index 3377df5d..f44e96a7 100644 --- a/drivers/gpu/nvgpu/gk20a/gr_gk20a.h +++ b/drivers/gpu/nvgpu/gk20a/gr_gk20a.h | |||
@@ -24,7 +24,6 @@ | |||
24 | #ifndef GR_GK20A_H | 24 | #ifndef GR_GK20A_H |
25 | #define GR_GK20A_H | 25 | #define GR_GK20A_H |
26 | 26 | ||
27 | #include <uapi/linux/nvgpu.h> | ||
28 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC | 27 | #ifdef CONFIG_ARCH_TEGRA_18x_SOC |
29 | #include "gr_t18x.h" | 28 | #include "gr_t18x.h" |
30 | #endif | 29 | #endif |
diff --git a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c index e4437ed2..5b48cca8 100644 --- a/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c +++ b/drivers/gpu/nvgpu/vgpu/gp10b/vgpu_mm_gp10b.c | |||
@@ -22,6 +22,8 @@ | |||
22 | * DEALINGS IN THE SOFTWARE. | 22 | * DEALINGS IN THE SOFTWARE. |
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include <uapi/linux/nvgpu.h> | ||
26 | |||
25 | #include "vgpu/vgpu.h" | 27 | #include "vgpu/vgpu.h" |
26 | #include "vgpu_mm_gp10b.h" | 28 | #include "vgpu_mm_gp10b.h" |
27 | #include "gk20a/mm_gk20a.h" | 29 | #include "gk20a/mm_gk20a.h" |