summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/dvfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-tegra/dvfs.c')
-rw-r--r--arch/arm/mach-tegra/dvfs.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/dvfs.c b/arch/arm/mach-tegra/dvfs.c
index 7a5e81a43d01..65967014231f 100644
--- a/arch/arm/mach-tegra/dvfs.c
+++ b/arch/arm/mach-tegra/dvfs.c
@@ -1275,6 +1275,13 @@ struct tegra_cooling_device *tegra_dvfs_get_gpu_vmin_cdev(void)
return NULL;
}
+struct tegra_cooling_device *tegra_dvfs_get_gpu_vts_cdev(void)
+{
+ if (tegra_gpu_rail)
+ return tegra_gpu_rail->vts_cdev;
+ return NULL;
+}
+
static void make_safe_thermal_dvfs_one(struct dvfs *d,
struct tegra_cooling_device *cdev)
{