|
@@ -35,7 +35,7 @@ static int int340x_thermal_handler_attach(struct acpi_device *adev,
|
|
|
{
|
|
|
#if defined(CONFIG_INT340X_THERMAL) || defined(CONFIG_INT340X_THERMAL_MODULE)
|
|
|
acpi_create_platform_device(adev);
|
|
|
-#elif defined(INTEL_SOC_DTS_THERMAL) || defined(INTEL_SOC_DTS_THERMAL_MODULE)
|
|
|
+#elif defined(CONFIG_INTEL_SOC_DTS_THERMAL) || defined(CONFIG_INTEL_SOC_DTS_THERMAL_MODULE)
|
|
|
/* Intel SoC DTS thermal driver needs INT3401 to set IRQ descriptor */
|
|
|
if (id->driver_data == INT3401_DEVICE)
|
|
|
acpi_create_platform_device(adev);
|