summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gp106/clk_gp106.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gp106/clk_gp106.c')
-rw-r--r--drivers/gpu/nvgpu/gp106/clk_gp106.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/gp106/clk_gp106.c b/drivers/gpu/nvgpu/gp106/clk_gp106.c
index f8353296..332ad413 100644
--- a/drivers/gpu/nvgpu/gp106/clk_gp106.c
+++ b/drivers/gpu/nvgpu/gp106/clk_gp106.c
@@ -239,7 +239,7 @@ DEFINE_SIMPLE_ATTRIBUTE(get_rate_fops, gp106_get_rate_show, NULL, "%llu\n");
239 239
240 240
241static int clk_gp106_debugfs_init(struct gk20a *g) { 241static int clk_gp106_debugfs_init(struct gk20a *g) {
242 struct gk20a_platform *platform = dev_get_drvdata(g->dev); 242 struct gk20a_platform *platform = dev_get_drvdata(dev_from_gk20a(g));
243 243
244 struct dentry *gpu_root = platform->debugfs; 244 struct dentry *gpu_root = platform->debugfs;
245 struct dentry *clocks_root; 245 struct dentry *clocks_root;