summaryrefslogtreecommitdiff
path: root/include/linux/cpu_cooling.h
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2013-03-26 23:57:01 +0800
committerZhang Rui <rui.zhang@intel.com>2013-04-14 23:28:49 +0800
commitbbf7fc88c78f7317e2cdcf77e974c8a9a8312641 (patch)
treed9a1610c07b32079facb04fae14b1d55b48440f1 /include/linux/cpu_cooling.h
parent80a26a5c22b90a82b8696cb72c1d09d525ada53e (diff)
Thermal: build cpu_cooling code into thermal_sys module
Signed-off-by: Zhang Rui <rui.zhang@intel.com> Acked-by: Eduardo Valentin <eduardo.valentin@ti.com> Acked-by: Durgadoss R <durgadoss.r@intel.com>
Diffstat (limited to 'include/linux/cpu_cooling.h')
-rw-r--r--include/linux/cpu_cooling.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/cpu_cooling.h b/include/linux/cpu_cooling.h
index bc479b1e0fd9..77c87c9d0193 100644
--- a/include/linux/cpu_cooling.h
+++ b/include/linux/cpu_cooling.h
@@ -29,7 +29,7 @@
#define CPUFREQ_COOLING_START 0
#define CPUFREQ_COOLING_STOP 1
-#if defined(CONFIG_CPU_THERMAL) || defined(CONFIG_CPU_THERMAL_MODULE)
+#ifdef CONFIG_CPU_THERMAL
/**
* cpufreq_cooling_register - function to create cpufreq cooling device.
* @clip_cpus: cpumask of cpus where the frequency constraints will happen