summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/common/linux/debug_cde.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_cde.c')
-rw-r--r--drivers/gpu/nvgpu/common/linux/debug_cde.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_cde.c b/drivers/gpu/nvgpu/common/linux/debug_cde.c
index eb7c33e2..d3aab3cd 100644
--- a/drivers/gpu/nvgpu/common/linux/debug_cde.c
+++ b/drivers/gpu/nvgpu/common/linux/debug_cde.c
@@ -33,7 +33,7 @@ static const struct file_operations gk20a_cde_reload_fops = {
33 33
34void gk20a_cde_debugfs_init(struct gk20a *g) 34void gk20a_cde_debugfs_init(struct gk20a *g)
35{ 35{
36 struct gk20a_platform *platform = dev_get_drvdata(g->dev); 36 struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g));
37 37
38 if (!platform->has_cde) 38 if (!platform->has_cde)
39 return; 39 return;