diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_pmu.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug_pmu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_pmu.c b/drivers/gpu/nvgpu/common/linux/debug_pmu.c index 7d9f5ac3..0d364fe7 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_pmu.c +++ b/drivers/gpu/nvgpu/common/linux/debug_pmu.c | |||
@@ -416,7 +416,7 @@ static const struct file_operations security_fops = { | |||
416 | int gk20a_pmu_debugfs_init(struct gk20a *g) | 416 | int gk20a_pmu_debugfs_init(struct gk20a *g) |
417 | { | 417 | { |
418 | struct dentry *d; | 418 | struct dentry *d; |
419 | struct gk20a_platform *platform = dev_get_drvdata(g->dev); | 419 | struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g)); |
420 | 420 | ||
421 | d = debugfs_create_file( | 421 | d = debugfs_create_file( |
422 | "lpwr_debug", S_IRUGO|S_IWUSR, platform->debugfs, g, | 422 | "lpwr_debug", S_IRUGO|S_IWUSR, platform->debugfs, g, |