diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_fifo.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug_fifo.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_fifo.c b/drivers/gpu/nvgpu/common/linux/debug_fifo.c index 1245c093..a240a138 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_fifo.c +++ b/drivers/gpu/nvgpu/common/linux/debug_fifo.c | |||
@@ -13,7 +13,6 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "debug_fifo.h" | 15 | #include "debug_fifo.h" |
16 | #include "gk20a/platform_gk20a.h" | ||
17 | #include "os_linux.h" | 16 | #include "os_linux.h" |
18 | 17 | ||
19 | #include <linux/debugfs.h> | 18 | #include <linux/debugfs.h> |
@@ -292,9 +291,8 @@ static const struct file_operations gk20a_fifo_profile_stats_debugfs_fops = { | |||
292 | 291 | ||
293 | void gk20a_fifo_debugfs_init(struct gk20a *g) | 292 | void gk20a_fifo_debugfs_init(struct gk20a *g) |
294 | { | 293 | { |
295 | struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g)); | 294 | struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g); |
296 | 295 | struct dentry *gpu_root = l->debugfs; | |
297 | struct dentry *gpu_root = platform->debugfs; | ||
298 | struct dentry *fifo_root; | 296 | struct dentry *fifo_root; |
299 | struct dentry *profile_root; | 297 | struct dentry *profile_root; |
300 | 298 | ||