summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/debug_sched.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_sched.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug_sched.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_sched.c b/drivers/gpu/nvgpu/common/linux/debug_sched.c
index 40b93149..73fb890f 100644
--- a/drivers/gpu/nvgpu/common/linux/debug_sched.c
+++ b/drivers/gpu/nvgpu/common/linux/debug_sched.c
@@ -72,7 +72,7 @@ static const struct file_operations gk20a_sched_debugfs_fops = {
72 72
73void gk20a_sched_debugfs_init(struct gk20a *g) 73void gk20a_sched_debugfs_init(struct gk20a *g)
74{ 74{
75 struct gk20a_platform *platform = dev_get_drvdata(g->dev); 75 struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g));
76 76
77 debugfs_create_file("sched_ctrl", S_IRUGO, platform->debugfs, 77 debugfs_create_file("sched_ctrl", S_IRUGO, platform->debugfs,
78 g, &gk20a_sched_debugfs_fops); 78 g, &gk20a_sched_debugfs_fops);