summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2014-03-14 12:45:05 +0800
committerZhang Rui <rui.zhang@intel.com>2014-10-10 13:57:09 +0800
commit816cab931f288c92a3404b1b984576f4822b0445 (patch)
treef09e5a1e9124056e086e53fbbea39bbf2d9acf32 /drivers/acpi
parente3ec483a7e24c6ebb5eb763ee56c65c239701066 (diff)
Thermal: introduce int3400 thermal driver
Introduce int3400 thermal driver. And make INT3400 driver enumerate the other int340x thermal components shown in _ART/_TRT. Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/int340x_thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/int340x_thermal.c b/drivers/acpi/int340x_thermal.c
index 2103bb6d901..a27d31d1ba2 100644
--- a/drivers/acpi/int340x_thermal.c
+++ b/drivers/acpi/int340x_thermal.c
@@ -33,7 +33,7 @@ static const struct acpi_device_id int340x_thermal_device_ids[] = {
static int int340x_thermal_handler_attach(struct acpi_device *adev,
const struct acpi_device_id *id)
{
-#ifdef CONFIG_INT340X_THERMAL
+#if defined(CONFIG_INT340X_THERMAL) || defined(CONFIG_INT340X_THERMAL_MODULE)
if (id->driver_data == DO_ENUMERATION)
acpi_create_platform_device(adev);
#endif