thermal/drivers/Kconfig: Convert the CPU cooling device to a choice
[linux-2.6-microblaze.git] / drivers / thermal / Kconfig
index 79b2786..62c1c83 100644 (file)
@@ -151,8 +151,18 @@ config THERMAL_GOV_POWER_ALLOCATOR
 
 config CPU_THERMAL
        bool "Generic cpu cooling support"
-       depends on CPU_FREQ
        depends on THERMAL_OF
+       help
+         Enable the CPU cooling features. If the system has no active
+         cooling device available, this option allows to use the CPU
+         as a cooling device.
+
+if CPU_THERMAL
+
+config CPU_FREQ_THERMAL
+       bool "CPU frequency cooling device"
+       depends on CPU_FREQ
+       default y
        help
          This implements the generic cpu cooling mechanism through frequency
          reduction. An ACPI version of this already exists
@@ -160,7 +170,7 @@ config CPU_THERMAL
          This will be useful for platforms using the generic thermal interface
          and not the ACPI interface.
 
-         If you want this support, you should say Y here.
+endif
 
 config CLOCK_THERMAL
        bool "Generic clock cooling support"