diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-07-02 15:30:20 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-07-07 16:44:55 -0400 |
commit | cba424539d39ea184157f80b64938cfa31bc3924 (patch) | |
tree | a426a9256295a609bec499fc78244387b9a25ab5 /drivers/gpu/nvgpu/gp106 | |
parent | dfd42c2b2800a9d4c0d99a1694e7040346418aaf (diff) |
gpu: nvgpu: Move dev field from gk20a to nvgpu_os_linux
Move field "struct device *dev" from struct gk20a to struct
nvgpu_os_linux. The field is valid only for Linux.
JIRA NVGPU-38
Change-Id: I09286aa3a9c5a2406e5a27c1fbf21b2c515b4dd4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master/r/1514162
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gp106')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/clk_gp106.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp106/mclk_gp106.c | 1 | ||||
-rw-r--r-- | drivers/gpu/nvgpu/gp106/therm_gp106.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/nvgpu/gp106/clk_gp106.c b/drivers/gpu/nvgpu/gp106/clk_gp106.c index 332ad413..e9aec7ac 100644 --- a/drivers/gpu/nvgpu/gp106/clk_gp106.c +++ b/drivers/gpu/nvgpu/gp106/clk_gp106.c | |||
@@ -26,6 +26,7 @@ | |||
26 | #ifdef CONFIG_DEBUG_FS | 26 | #ifdef CONFIG_DEBUG_FS |
27 | #include "gk20a/platform_gk20a.h" | 27 | #include "gk20a/platform_gk20a.h" |
28 | #endif | 28 | #endif |
29 | #include "common/linux/os_linux.h" | ||
29 | 30 | ||
30 | #include "clk_gp106.h" | 31 | #include "clk_gp106.h" |
31 | #include "clk/clk_arb.h" | 32 | #include "clk/clk_arb.h" |
diff --git a/drivers/gpu/nvgpu/gp106/mclk_gp106.c b/drivers/gpu/nvgpu/gp106/mclk_gp106.c index 283847a9..47ba4ea9 100644 --- a/drivers/gpu/nvgpu/gp106/mclk_gp106.c +++ b/drivers/gpu/nvgpu/gp106/mclk_gp106.c | |||
@@ -19,6 +19,7 @@ | |||
19 | #include "gk20a/gk20a.h" | 19 | #include "gk20a/gk20a.h" |
20 | #ifdef CONFIG_DEBUG_FS | 20 | #ifdef CONFIG_DEBUG_FS |
21 | #include "gk20a/platform_gk20a.h" | 21 | #include "gk20a/platform_gk20a.h" |
22 | #include "common/linux/os_linux.h" | ||
22 | #endif | 23 | #endif |
23 | #include "gp106/mclk_gp106.h" | 24 | #include "gp106/mclk_gp106.h" |
24 | 25 | ||
diff --git a/drivers/gpu/nvgpu/gp106/therm_gp106.c b/drivers/gpu/nvgpu/gp106/therm_gp106.c index 1781a17f..dacebe93 100644 --- a/drivers/gpu/nvgpu/gp106/therm_gp106.c +++ b/drivers/gpu/nvgpu/gp106/therm_gp106.c | |||
@@ -17,6 +17,7 @@ | |||
17 | #ifdef CONFIG_DEBUG_FS | 17 | #ifdef CONFIG_DEBUG_FS |
18 | #include <linux/debugfs.h> | 18 | #include <linux/debugfs.h> |
19 | #include "gk20a/platform_gk20a.h" | 19 | #include "gk20a/platform_gk20a.h" |
20 | #include "common/linux/os_linux.h" | ||
20 | #endif | 21 | #endif |
21 | 22 | ||
22 | #include <nvgpu/hw/gp106/hw_therm_gp106.h> | 23 | #include <nvgpu/hw/gp106/hw_therm_gp106.h> |