From e93fee7719a78f60a1e9fe48d29cd325b723ee67 Mon Sep 17 00:00:00 2001 From: Joshua Primero Date: Mon, 3 Oct 2011 22:23:53 -0700 Subject: arm: tegra: power: Device agnostic thermal driver Added a thermal driver which is agonistic to the device driver which will make it easier to port thermal devices to android tegra. Reviewed-on: http://git-master/r/55883 Reviewed-on: http://git-master/r/59471 (cherry picked from commit b89dbb5a64bcb3124794f644e71658de83a4ab71) Change-Id: Ib3c7100144ea0a98ac7c15e404d4d9e7737018e5 Signed-off-by: Joshua Primero Reviewed-on: http://git-master/r/66548 Reviewed-by: Diwakar Tundlam --- arch/arm/mach-tegra/cpu-tegra.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arch/arm/mach-tegra/cpu-tegra.c') diff --git a/arch/arm/mach-tegra/cpu-tegra.c b/arch/arm/mach-tegra/cpu-tegra.c index d6793f87cc5f..598c6b0408a9 100644 --- a/arch/arm/mach-tegra/cpu-tegra.c +++ b/arch/arm/mach-tegra/cpu-tegra.c @@ -38,6 +38,7 @@ #include #include +#include #include "clock.h" #include "cpu-tegra.h" @@ -647,6 +648,10 @@ static int __init tegra_cpufreq_init(void) suspend_index = table_data->suspend_index; + ret = tegra_thermal_init(); + if (ret) + return ret; + ret = tegra_throttle_init(&tegra_cpu_lock); if (ret) return ret; -- cgit v1.2.3