ACPI / thermal: fix thermal driver compile error when CONFIG_PM_SLEEP is undefined
authorShuah Khan <shuah.kh@samsung.com>
Thu, 13 Feb 2014 03:19:10 +0000 (20:19 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Feb 2014 14:13:45 +0000 (15:13 +0100)
commitfae9e2a4b1c59d11edfa7c99c34293bf9fbf2bde
treedcb73abb4d56ccc80f84b550ca5496947bc5f399
parent15029dd7948c4a7adc0860e1750a2a0bba87c473
ACPI / thermal: fix thermal driver compile error when CONFIG_PM_SLEEP is undefined

The ACPI thermal driver defines acpi_thermal_resume() when
CONFIG_PM_SLEEP is defined. This results in the following compile
error when CONFIG_PM_SLEEP is undefined.

  CC      drivers/acpi/thermal.o
drivers/acpi/thermal.c:107:8: error: ‘acpi_thermal_resume’ undeclared here (not in a function)
make[2]: *** [drivers/acpi/thermal.o] Error 1

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/thermal.c