summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTerje Bergstrom <tbergstrom@nvidia.com>2017-01-04 15:37:02 -0500
committermobile promotions <svcmobile_promotions@nvidia.com>2017-01-06 12:13:59 -0500
commit7fd02cf343b8ba527865b64512fd684eb4bab313 (patch)
treebf812db96a2c8c337a2c56e5a6245220cb87754b
parent0b9a4411aaed0939f4886e7e2641b8a60bfb34bd (diff)
gpu: nvgpu: Don't recursively #include ctrlvolt.h
ctrlvolt.h #includes ctrlperf.h, which recursively #includes ctrlvolt.h without needing anything from it. Remove the #include to improve built time. Bug 200192125 Change-Id: I8c917533127e6d42aae6ad1401860c1f5d110d81 Signed-off-by: Terje Bergstrom <tbergstrom@nvidia.com> Reviewed-on: http://git-master/r/1280345 GVS: Gerrit_Virtual_Submit
-rw-r--r--drivers/gpu/nvgpu/ctrl/ctrlperf.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/gpu/nvgpu/ctrl/ctrlperf.h b/drivers/gpu/nvgpu/ctrl/ctrlperf.h
index 89697dfd..38b071d6 100644
--- a/drivers/gpu/nvgpu/ctrl/ctrlperf.h
+++ b/drivers/gpu/nvgpu/ctrl/ctrlperf.h
@@ -1,7 +1,7 @@
1/* 1/*
2 * general p state infrastructure 2 * general p state infrastructure
3 * 3 *
4 * Copyright (c) 2016, NVIDIA CORPORATION. All rights reserved. 4 * Copyright (c) 2016-2017, NVIDIA CORPORATION. All rights reserved.
5 * 5 *
6 * 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
7 * under the terms and conditions of the GNU General Public License, 7 * under the terms and conditions of the GNU General Public License,
@@ -15,8 +15,6 @@
15#ifndef _ctrlperf_h_ 15#ifndef _ctrlperf_h_
16#define _ctrlperf_h_ 16#define _ctrlperf_h_
17 17
18#include "ctrlvolt.h"
19
20struct ctrl_perf_volt_rail_list_item { 18struct ctrl_perf_volt_rail_list_item {
21 u8 volt_domain; 19 u8 volt_domain;
22 u32 voltage_uv; 20 u32 voltage_uv;