From fd2cac59f3491cb5b4f5d1f3fc97df94734bd682 Mon Sep 17 00:00:00 2001 From: Terje Bergstrom Date: Fri, 10 Nov 2017 11:38:41 -0800 Subject: gpu: nvgpu: Include UAPI explicitly Add explicit #includes for for source code files that depend on it. JIRA NVGPU-259 Change-Id: I717d5f1493423fd3a7a34b6dd3380d33a9307a09 Signed-off-by: Terje Bergstrom Reviewed-on: https://git-master.nvidia.com/r/1596254 Reviewed-by: mobile promotions Tested-by: mobile promotions --- drivers/gpu/nvgpu/common/as.c | 1 + drivers/gpu/nvgpu/common/linux/cde.c | 1 + drivers/gpu/nvgpu/common/linux/ce2.c | 2 ++ drivers/gpu/nvgpu/common/linux/channel.c | 1 + drivers/gpu/nvgpu/common/linux/clk_arb.c | 1 + drivers/gpu/nvgpu/common/linux/vidmem.c | 1 + drivers/gpu/nvgpu/common/mm/gmmu.c | 2 ++ drivers/gpu/nvgpu/common/mm/vm.c | 2 ++ drivers/gpu/nvgpu/common/mm/vm_area.c | 2 ++ 9 files changed, 13 insertions(+) (limited to 'drivers/gpu/nvgpu/common') diff --git a/drivers/gpu/nvgpu/common/as.c b/drivers/gpu/nvgpu/common/as.c index f4f00fba..7ca754e1 100644 --- a/drivers/gpu/nvgpu/common/as.c +++ b/drivers/gpu/nvgpu/common/as.c @@ -23,6 +23,7 @@ */ #include +#include #include #include diff --git a/drivers/gpu/nvgpu/common/linux/cde.c b/drivers/gpu/nvgpu/common/linux/cde.c index 8e847206..143e5b75 100644 --- a/drivers/gpu/nvgpu/common/linux/cde.c +++ b/drivers/gpu/nvgpu/common/linux/cde.c @@ -19,6 +19,7 @@ #include #include #include +#include #include diff --git a/drivers/gpu/nvgpu/common/linux/ce2.c b/drivers/gpu/nvgpu/common/linux/ce2.c index 5f89ef7b..f172cede 100644 --- a/drivers/gpu/nvgpu/common/linux/ce2.c +++ b/drivers/gpu/nvgpu/common/linux/ce2.c @@ -14,6 +14,8 @@ * along with this program. If not, see . */ +#include + #include #include diff --git a/drivers/gpu/nvgpu/common/linux/channel.c b/drivers/gpu/nvgpu/common/linux/channel.c index c295336f..40b11b86 100644 --- a/drivers/gpu/nvgpu/common/linux/channel.c +++ b/drivers/gpu/nvgpu/common/linux/channel.c @@ -32,6 +32,7 @@ #include #include #include +#include u32 nvgpu_get_gpfifo_entry_size(void) { diff --git a/drivers/gpu/nvgpu/common/linux/clk_arb.c b/drivers/gpu/nvgpu/common/linux/clk_arb.c index ff26f567..ef89f980 100644 --- a/drivers/gpu/nvgpu/common/linux/clk_arb.c +++ b/drivers/gpu/nvgpu/common/linux/clk_arb.c @@ -31,6 +31,7 @@ #ifdef CONFIG_DEBUG_FS #include #endif +#include #include #include diff --git a/drivers/gpu/nvgpu/common/linux/vidmem.c b/drivers/gpu/nvgpu/common/linux/vidmem.c index 1e65b54d..1d9fea71 100644 --- a/drivers/gpu/nvgpu/common/linux/vidmem.c +++ b/drivers/gpu/nvgpu/common/linux/vidmem.c @@ -15,6 +15,7 @@ */ #include +#include #include diff --git a/drivers/gpu/nvgpu/common/mm/gmmu.c b/drivers/gpu/nvgpu/common/mm/gmmu.c index 4289104d..568da8c4 100644 --- a/drivers/gpu/nvgpu/common/mm/gmmu.c +++ b/drivers/gpu/nvgpu/common/mm/gmmu.c @@ -20,6 +20,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include + #include #include #include diff --git a/drivers/gpu/nvgpu/common/mm/vm.c b/drivers/gpu/nvgpu/common/mm/vm.c index 97c6d4ca..cfac4f8e 100644 --- a/drivers/gpu/nvgpu/common/mm/vm.c +++ b/drivers/gpu/nvgpu/common/mm/vm.c @@ -21,6 +21,8 @@ */ #include +#include + #include #include #include diff --git a/drivers/gpu/nvgpu/common/mm/vm_area.c b/drivers/gpu/nvgpu/common/mm/vm_area.c index fddec357..b6286c43 100644 --- a/drivers/gpu/nvgpu/common/mm/vm_area.c +++ b/drivers/gpu/nvgpu/common/mm/vm_area.c @@ -20,6 +20,8 @@ * DEALINGS IN THE SOFTWARE. */ +#include + #include #include -- cgit v1.2.2