From: Shuah Khan Date: Thu, 13 Feb 2014 03:19:08 +0000 (-0700) Subject: ACPI / fan: fix fan driver compile error when CONFIG_PM_SLEEP is undefined X-Git-Tag: v3.14-rc4~17^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b108e0ea94a33f85590959a7a7fbcfd6f8ea8ab6;p=pandora-kernel.git ACPI / fan: fix fan driver compile error when CONFIG_PM_SLEEP is undefined 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: Shuah Khan Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed