diff options
Diffstat (limited to 'drivers/gpu/nvgpu/common/linux/debug_gr.c')
-rw-r--r-- | drivers/gpu/nvgpu/common/linux/debug_gr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/common/linux/debug_gr.c b/drivers/gpu/nvgpu/common/linux/debug_gr.c index 56b8612e..1045fe0b 100644 --- a/drivers/gpu/nvgpu/common/linux/debug_gr.c +++ b/drivers/gpu/nvgpu/common/linux/debug_gr.c | |||
@@ -19,7 +19,7 @@ | |||
19 | 19 | ||
20 | int gr_gk20a_debugfs_init(struct gk20a *g) | 20 | int gr_gk20a_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 | g->debugfs_gr_default_attrib_cb_size = | 24 | g->debugfs_gr_default_attrib_cb_size = |
25 | debugfs_create_u32("gr_default_attrib_cb_size", | 25 | debugfs_create_u32("gr_default_attrib_cb_size", |