ACPI: int340x_thermal: add missing CONFIG_ prefix
authorSudeep Holla <Sudeep.Holla@arm.com>
Mon, 14 Sep 2015 15:01:54 +0000 (16:01 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 15 Sep 2015 00:53:32 +0000 (02:53 +0200)
This patch adds the missing CONFIG_ prefix to INTEL_SOC_DTS_THERMAL
macros.

Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/int340x_thermal.c

index 9dcf83682e367e889db67cd5ae44670878893459..6c7c7975f72e515b53548388e24314575c03befa 100644 (file)
@@ -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);