diff options
author | Zhang Rui <rui.zhang@intel.com> | 2014-03-14 00:45:05 -0400 |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2014-10-10 01:57:09 -0400 |
commit | 816cab931f288c92a3404b1b984576f4822b0445 (patch) | |
tree | f09e5a1e9124056e086e53fbbea39bbf2d9acf32 /drivers/acpi | |
parent | e3ec483a7e24c6ebb5eb763ee56c65c239701066 (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.c | 2 |
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[] = { | |||
33 | static int int340x_thermal_handler_attach(struct acpi_device *adev, | 33 | static int int340x_thermal_handler_attach(struct acpi_device *adev, |
34 | const struct acpi_device_id *id) | 34 | const struct acpi_device_id *id) |
35 | { | 35 | { |
36 | #ifdef CONFIG_INT340X_THERMAL | 36 | #if defined(CONFIG_INT340X_THERMAL) || defined(CONFIG_INT340X_THERMAL_MODULE) |
37 | if (id->driver_data == DO_ENUMERATION) | 37 | if (id->driver_data == DO_ENUMERATION) |
38 | acpi_create_platform_device(adev); | 38 | acpi_create_platform_device(adev); |
39 | #endif | 39 | #endif |