diff options
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/mclk_gp106.c')
-rw-r--r-- | drivers/gpu/nvgpu/gp106/mclk_gp106.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/mclk_gp106.c b/drivers/gpu/nvgpu/gp106/mclk_gp106.c index 3558b501..c4ecdb1d 100644 --- a/drivers/gpu/nvgpu/gp106/mclk_gp106.c +++ b/drivers/gpu/nvgpu/gp106/mclk_gp106.c | |||
@@ -3494,7 +3494,7 @@ static const struct file_operations mclk_switch_stats_fops = { | |||
3494 | 3494 | ||
3495 | static int mclk_debugfs_init(struct gk20a *g) | 3495 | static int mclk_debugfs_init(struct gk20a *g) |
3496 | { | 3496 | { |
3497 | struct gk20a_platform *platform = dev_get_drvdata(g->dev); | 3497 | struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g)); |
3498 | 3498 | ||
3499 | struct dentry *gpu_root = platform->debugfs; | 3499 | struct dentry *gpu_root = platform->debugfs; |
3500 | struct dentry *d; | 3500 | struct dentry *d; |