summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/xve_gp106.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/xve_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/xve_gp106.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/gpu/nvgpu/gp106/xve_gp106.c b/drivers/gpu/nvgpu/gp106/xve_gp106.c
index 67b77048..89b6b873 100644
--- a/drivers/gpu/nvgpu/gp106/xve_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/xve_gp106.c
@@ -22,9 +22,6 @@
22#include "gk20a/gk20a.h" 22#include "gk20a/gk20a.h"
23#include "gm206/bios_gm206.h" 23#include "gm206/bios_gm206.h"
24#include "gp106/xve_gp106.h" 24#include "gp106/xve_gp106.h"
25#ifdef CONFIG_DEBUG_FS
26#include "gk20a/platform_gk20a.h"
27#endif
28#include "common/linux/os_linux.h" 25#include "common/linux/os_linux.h"
29 26
30#include <nvgpu/bug.h> 27#include <nvgpu/bug.h>
@@ -603,11 +600,10 @@ static const struct file_operations xve_link_control_status_fops = {
603}; 600};
604#endif 601#endif
605 602
606int xve_sw_init_gp106(struct device *dev) 603int xve_sw_init_gp106(struct gk20a *g)
607{ 604{
608 int err = -ENODEV; 605 int err = -ENODEV;
609#ifdef CONFIG_DEBUG_FS 606#ifdef CONFIG_DEBUG_FS
610 struct gk20a *g = gk20a_from_dev(dev);
611 struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g); 607 struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g);
612 struct dentry *gpu_root = l->debugfs; 608 struct dentry *gpu_root = l->debugfs;
613 609