diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_mm.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug_mm.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_mm.c b/drivers/gpu/nvgpu/common/linux/debug_mm.c index bed8d10b..f2c42e70 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_mm.c +++ b/drivers/gpu/nvgpu/common/linux/debug_mm.c | |||
@@ -13,15 +13,14 @@ | |||
13 | */ | 13 | */ |
14 | 14 | ||
15 | #include "debug_mm.h" | 15 | #include "debug_mm.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> |
20 | 19 | ||
21 | void gk20a_mm_debugfs_init(struct gk20a *g) | 20 | void gk20a_mm_debugfs_init(struct gk20a *g) |
22 | { | 21 | { |
23 | struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g)); | 22 | struct nvgpu_os_linux *l = nvgpu_os_linux_from_gk20a(g); |
24 | 23 | ||
25 | debugfs_create_bool("force_pramin", 0664, platform->debugfs, | 24 | debugfs_create_bool("force_pramin", 0664, l->debugfs, |
26 | &g->mm.force_pramin); | 25 | &g->mm.force_pramin); |
27 | } | 26 | } |