mirror of
git://nv-tegra.nvidia.com/linux-nvgpu.git
synced 2025-12-23 09:57:08 +03:00
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>
This commit is contained in:
committed by
mobile promotions
parent
52445fba1f
commit
8b3d94ffd3
@@ -29,7 +29,7 @@
|
||||
#include "module.h"
|
||||
#include "intr.h"
|
||||
#include "gp106/pmu_mclk_gp106.h"
|
||||
|
||||
#include "sysfs.h"
|
||||
#include "pci.h"
|
||||
|
||||
#include "os_linux.h"
|
||||
@@ -491,7 +491,7 @@ static void nvgpu_pci_remove(struct pci_dev *pdev)
|
||||
debugfs_remove_recursive(platform->debugfs_alias);
|
||||
#endif
|
||||
|
||||
gk20a_remove_sysfs(g->dev);
|
||||
nvgpu_remove_sysfs(g->dev);
|
||||
|
||||
if (platform->remove)
|
||||
platform->remove(g->dev);
|
||||
|
||||
Reference in New Issue
Block a user