diff options
Diffstat (limited to 'kernel/power/main.c')
-rw-r--r-- | kernel/power/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c index b21c2a56f960..5a779270cdbc 100644 --- a/kernel/power/main.c +++ b/kernel/power/main.c | |||
@@ -244,6 +244,7 @@ static int enter_state(suspend_state_t state) | |||
244 | return error; | 244 | return error; |
245 | } | 245 | } |
246 | 246 | ||
247 | #ifdef CONFIG_SOFTWARE_SUSPEND | ||
247 | /* | 248 | /* |
248 | * This is main interface to the outside world. It needs to be | 249 | * This is main interface to the outside world. It needs to be |
249 | * called from process context. | 250 | * called from process context. |
@@ -252,6 +253,7 @@ int software_suspend(void) | |||
252 | { | 253 | { |
253 | return enter_state(PM_SUSPEND_DISK); | 254 | return enter_state(PM_SUSPEND_DISK); |
254 | } | 255 | } |
256 | #endif | ||
255 | 257 | ||
256 | 258 | ||
257 | /** | 259 | /** |