diff options
author | Terje Bergstrom <tbergstrom@nvidia.com> | 2017-04-19 17:09:05 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-06-27 06:57:13 -0400 |
commit | 8b3d94ffd3e5b6d7a622c6ad54692d79bf39d1ce (patch) | |
tree | fb8648cd40e99892e18e28de8e8851915a0ac0b9 /drivers/gpu/nvgpu/common/linux/module.c | |
parent | 52445fba1feac3ee20bf1c3db149adc42715af9e (diff) |
gpu: nvgpu: Move sysfs dependencies from HAL to Linux
Move sysfs dependencies from gk20a/ and gp10b/ to common/linux. At
the same time the gk20a and gp10b variants are merged into one.
JIRA NVGPU-48
Change-Id: I212be8f1beb8d20a57de04a57513e8fa0e2e83b4
Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com>
Reviewed-on: https://git-master/r/1466055
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/module.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/module.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/module.c b/drivers/gpu/nvgpu/common/linux/module.c index bfd2c790..99bbc25e 100644 --- a/drivers/gpu/nvgpu/common/linux/module.c +++ b/drivers/gpu/nvgpu/common/linux/module.c | |||
@@ -31,8 +31,8 @@ | |||
31 | #include <nvgpu/enabled.h> | 31 | #include <nvgpu/enabled.h> |
32 | #include <nvgpu/debug.h> | 32 | #include <nvgpu/debug.h> |
33 | 33 | ||
34 | #include "gk20a/gk20a.h" | ||
35 | #include "gk20a/platform_gk20a.h" | 34 | #include "gk20a/platform_gk20a.h" |
35 | #include "sysfs.h" | ||
36 | #include "vgpu/vgpu.h" | 36 | #include "vgpu/vgpu.h" |
37 | #include "gk20a/gk20a_scale.h" | 37 | #include "gk20a/gk20a_scale.h" |
38 | #include "gk20a/ctxsw_trace_gk20a.h" | 38 | #include "gk20a/ctxsw_trace_gk20a.h" |
@@ -985,7 +985,7 @@ static int __exit gk20a_remove(struct platform_device *pdev) | |||
985 | 985 | ||
986 | gk20a_debug_deinit(g); | 986 | gk20a_debug_deinit(g); |
987 | 987 | ||
988 | gk20a_remove_sysfs(dev); | 988 | nvgpu_remove_sysfs(dev); |
989 | 989 | ||
990 | if (platform->secure_buffer.destroy) | 990 | if (platform->secure_buffer.destroy) |
991 | platform->secure_buffer.destroy(g, | 991 | platform->secure_buffer.destroy(g, |