Thermal: int340x thermal: select ACPI fan driver
authorZhang Rui <rui.zhang@intel.com>
Thu, 19 Jun 2014 07:43:29 +0000 (15:43 +0800)
committerZhang Rui <rui.zhang@intel.com>
Fri, 17 Oct 2014 06:30:41 +0000 (14:30 +0800)
we share the same driver for both ACPI predefined Fan device
and INT3404 Fan device, thus we should select the ACPI Fan
driver when int340x thermal drivers are enabeld.

Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/acpi/Kconfig
drivers/thermal/Kconfig

index d0f3265fb85d5a1f24646db40cc911364e62bfdf..b23fe37f67c02e563875b0227562ba917150a0d5 100644 (file)
@@ -144,7 +144,7 @@ config ACPI_VIDEO
 
 config ACPI_FAN
        tristate "Fan"
-       select THERMAL
+       depends on THERMAL
        default y
        help
          This driver supports ACPI fan devices, allowing user-mode
index 3a8929222cab50f3b1c5bd3517efb2ab256328c4..e65ca2f8917e88476dc05133c2f87cfb046159b9 100644 (file)
@@ -224,6 +224,7 @@ config INT340X_THERMAL
        depends on X86 && ACPI
        select THERMAL_GOV_USER_SPACE
        select ACPI_THERMAL_REL
+       select ACPI_FAN
        help
          Newer laptops and tablets that use ACPI may have thermal sensors and
          other devices with thermal control capabilities outside the core