summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/nvgpu/os/linux/debug_clk.c
diff options
context:
space:
mode:
authorDebarshi Dutta <ddutta@nvidia.com>2018-07-27 01:47:41 -0400
committermobile promotions <svcmobile_promotions@nvidia.com>2018-07-30 14:24:06 -0400
commit82a90170d3ecbed5106409546f33afa5eaea3ddf (patch)
tree11a9239c15d52fce7c903fe5c23db42be30f782b /drivers/gpu/nvgpu/os/linux/debug_clk.c
parent4cbec6b2c7f74f309fb4bc5d4981c42ae6ea3bcd (diff)
gk20a: nvgpu: Remove io.h dependency from gk20a.h
In the current code, gk20a.h includes io.h which gets directly included in a lot of other files. io.h contains methods which uses a struct gk20a as a parameter leading to a circular dependency between io.h and gk20a.h. This can be mitigated by removing io.h from gk20a.h as part of larger effort to moving gk20a.h to nvgpu/gk20a.h JIRA NVGPU-597 Change-Id: I93e504fa9371b88152737b342a75580c65e8f712 Signed-off-by: Debarshi Dutta <ddutta@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/1787316 Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com> Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/os/linux/debug_clk.c')
-rw-r--r--drivers/gpu/nvgpu/os/linux/debug_clk.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/nvgpu/os/linux/debug_clk.c b/drivers/gpu/nvgpu/os/linux/debug_clk.c
index 2484d44b..f514d2c8 100644
--- a/drivers/gpu/nvgpu/os/linux/debug_clk.c
+++ b/drivers/gpu/nvgpu/os/linux/debug_clk.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Copyright (C) 2017 NVIDIA Corporation. All rights reserved. 2 * Copyright (C) 2017-2018 NVIDIA Corporation. All rights reserved.
3 * 3 *
4 * This software is licensed under the terms of the GNU General Public 4 * This software is licensed under the terms of the GNU General Public
5 * License version 2, as published by the Free Software Foundation, and 5 * License version 2, as published by the Free Software Foundation, and
@@ -16,6 +16,8 @@
16#include <linux/debugfs.h> 16#include <linux/debugfs.h>
17#include <linux/seq_file.h> 17#include <linux/seq_file.h>
18 18
19#include <nvgpu/io.h>
20
19#include "gm20b/clk_gm20b.h" 21#include "gm20b/clk_gm20b.h"
20#include "os_linux.h" 22#include "os_linux.h"
21#include "platform_gk20a.h" 23#include "platform_gk20a.h"