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/pci.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/pci.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/pci.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/pci.c b/drivers/gpu/nvgpu/common/linux/pci.c index cb315973..acb1bb9f 100644 --- a/drivers/gpu/nvgpu/common/linux/pci.c +++ b/drivers/gpu/nvgpu/common/linux/pci.c | |||
@@ -29,7 +29,7 @@ | |||
29 | #include "module.h" | 29 | #include "module.h" |
30 | #include "intr.h" | 30 | #include "intr.h" |
31 | #include "gp106/pmu_mclk_gp106.h" | 31 | #include "gp106/pmu_mclk_gp106.h" |
32 | 32 | #include "sysfs.h" | |
33 | #include "pci.h" | 33 | #include "pci.h" |
34 | 34 | ||
35 | #include "os_linux.h" | 35 | #include "os_linux.h" |
@@ -491,7 +491,7 @@ static void nvgpu_pci_remove(struct pci_dev *pdev) | |||
491 | debugfs_remove_recursive(platform->debugfs_alias); | 491 | debugfs_remove_recursive(platform->debugfs_alias); |
492 | #endif | 492 | #endif |
493 | 493 | ||
494 | gk20a_remove_sysfs(g->dev); | 494 | nvgpu_remove_sysfs(g->dev); |
495 | 495 | ||
496 | if (platform->remove) | 496 | if (platform->remove) |
497 | platform->remove(g->dev); | 497 | platform->remove(g->dev); |