-
由 Shuah Khan 提交于
The ACPI fan driver defines acpi_fan_suspend() and acpi_fan_resume() when CONFIG_PM_SLEEP is defined. This results in the following compile errors when CONFIG_PM_SLEEP is undefined: drivers/acpi/fan.c:60:8: error: ‘acpi_fan_suspend’ undeclared here (not in a function) drivers/acpi/fan.c:60:8: error: ‘acpi_fan_resume’ undeclared here (not in a function) Signed-off-by: NShuah Khan <shuah.kh@samsung.com> Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
b108e0ea