summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/gk20a/clk_gk20a.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/clk_gk20a.c')
-rw-r--r--drivers/gpu/nvgpu/gk20a/clk_gk20a.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/gpu/nvgpu/gk20a/clk_gk20a.c b/drivers/gpu/nvgpu/gk20a/clk_gk20a.c
index e10df6ac..26fd1eaf 100644
--- a/drivers/gpu/nvgpu/gk20a/clk_gk20a.c
+++ b/drivers/gpu/nvgpu/gk20a/clk_gk20a.c
@@ -1,9 +1,7 @@
1/* 1/*
2 * drivers/video/tegra/host/gk20a/clk_gk20a.c
3 *
4 * GK20A Clocks 2 * GK20A Clocks
5 * 3 *
6 * Copyright (c) 2011-2014, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2011-2016, NVIDIA CORPORATION. All rights reserved.
7 * 5 *
8 * This program is free software; you can redistribute it and/or modify it 6 * This program is free software; you can redistribute it and/or modify it
9 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -831,7 +829,7 @@ DEFINE_SIMPLE_ATTRIBUTE(monitor_fops, monitor_get, NULL, "%llu\n");
831static int clk_gk20a_debugfs_init(struct gk20a *g) 829static int clk_gk20a_debugfs_init(struct gk20a *g)
832{ 830{
833 struct dentry *d; 831 struct dentry *d;
834 struct gk20a_platform *platform = platform_get_drvdata(g->dev); 832 struct gk20a_platform *platform = dev_get_drvdata(g->dev);
835 833
836 d = debugfs_create_file( 834 d = debugfs_create_file(
837 "rate", S_IRUGO|S_IWUSR, platform->debugfs, g, &rate_fops); 835 "rate", S_IRUGO|S_IWUSR, platform->debugfs, g, &rate_fops);