diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_mm.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug_mm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_mm.c b/drivers/gpu/nvgpu/common/linux/debug_mm.c index 1e260f89..dcb83112 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_mm.c +++ b/drivers/gpu/nvgpu/common/linux/debug_mm.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | void gk20a_mm_debugfs_init(struct gk20a *g) | 20 | void gk20a_mm_debugfs_init(struct gk20a *g) |
21 | { | 21 | { |
22 | struct gk20a_platform *platform = dev_get_drvdata(g->dev); | 22 | struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g)); |
23 | 23 | ||
24 | debugfs_create_bool("force_pramin", 0664, platform->debugfs, | 24 | debugfs_create_bool("force_pramin", 0664, platform->debugfs, |
25 | &g->mm.force_pramin); | 25 | &g->mm.force_pramin); |