summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/int340x_thermal.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2014-03-14 05:45:05 +0100
committerZhang Rui <rui.zhang@intel.com>2014-10-10 07:57:09 +0200
commit816cab931f288c92a3404b1b984576f4822b0445 (patch)
treef09e5a1e9124056e086e53fbbea39bbf2d9acf32 /drivers/acpi/int340x_thermal.c
parentACPI: add ACPI_TYPE_LOCAL_REFERENCE support to acpi_extract_package() (diff)
downloadlinux-816cab931f288c92a3404b1b984576f4822b0445.tar.xz
linux-816cab931f288c92a3404b1b984576f4822b0445.zip
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/int340x_thermal.c')
-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 2103bb6d9016..a27d31d1ba24 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