From: Zhang Rui Date: Fri, 30 Nov 2012 11:57:03 +0000 (+0100) Subject: ACPI: do acpisleep dmi check when CONFIG_ACPI_SLEEP is set X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~88^2~5^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ac1b1d7b7424cd6f129b5454b504b3cae746f0e;p=pandora-kernel.git ACPI: do acpisleep dmi check when CONFIG_ACPI_SLEEP is set The current acpisleep DMI checks only run when CONFIG_SUSPEND is set. And this may break hibernation on some platforms when CONFIG_SUSPEND is cleared. Move acpisleep DMI check into #ifdef CONFIG_ACPI_SLEEP instead. [rjw: Added acpi_sleep_dmi_check() and rebased on top of earlier patches adding entries to acpisleep_dmi_table[].] References: https://bugzilla.kernel.org/show_bug.cgi?id=45921 Signed-off-by: Zhang Rui Cc: Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed