Commit f5624d81 authored by Andy Grover's avatar Andy Grover

ACPI: Fix compilation error when CONFIG_SOFTWARE_SUSPEND is not set (Shawn Starr)

parent 6ccc3e25
...@@ -205,8 +205,10 @@ acpi_system_suspend( ...@@ -205,8 +205,10 @@ acpi_system_suspend(
break; break;
case ACPI_STATE_S2: case ACPI_STATE_S2:
#ifdef CONFIG_SOFTWARE_SUSPEND
case ACPI_STATE_S3: case ACPI_STATE_S3:
do_suspend_lowlevel(0); do_suspend_lowlevel(0);
#endif
break; break;
} }
local_irq_restore(flags); local_irq_restore(flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment