diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gm20b')
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/acr_gm20b.c | 3 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gm20b/clk_gm20b.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c index 7f0edbb2..fafe8734 100644 --- a/drivers/gpu/nvgpu/gm20b/acr_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/acr_gm20b.c | |||
@@ -11,8 +11,11 @@ | |||
11 | * more details. | 11 | * more details. |
12 | */ | 12 | */ |
13 | 13 | ||
14 | #ifdef CONFIG_DEBUG_FS | ||
14 | #include <linux/debugfs.h> | 15 | #include <linux/debugfs.h> |
16 | #endif | ||
15 | 17 | ||
18 | #include <nvgpu/types.h> | ||
16 | #include <linux/platform/tegra/mc.h> | 19 | #include <linux/platform/tegra/mc.h> |
17 | 20 | ||
18 | #include <nvgpu/dma.h> | 21 | #include <nvgpu/dma.h> |
diff --git a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c index aaea080a..8156fa00 100644 --- a/drivers/gpu/nvgpu/gm20b/clk_gm20b.c +++ b/drivers/gpu/nvgpu/gm20b/clk_gm20b.c | |||
@@ -18,8 +18,10 @@ | |||
18 | 18 | ||
19 | #include <linux/version.h> | 19 | #include <linux/version.h> |
20 | #include <linux/clk.h> | 20 | #include <linux/clk.h> |
21 | #ifdef CONFIG_DEBUG_FS | ||
21 | #include <linux/debugfs.h> | 22 | #include <linux/debugfs.h> |
22 | #include <linux/uaccess.h> | 23 | #include <linux/uaccess.h> |
24 | #endif | ||
23 | #include <linux/clk/tegra.h> | 25 | #include <linux/clk/tegra.h> |
24 | #include <soc/tegra/fuse.h> | 26 | #include <soc/tegra/fuse.h> |
25 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) | 27 | #if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 4, 0)) |