aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/power/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/power/main.c')
-rw-r--r--kernel/power/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/power/main.c b/kernel/power/main.c
index 32147b57c3bf..cfba6987ae7d 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -292,7 +292,7 @@ static ssize_t state_show(struct kset *kset, char *buf)
292 if (pm_states[i] && valid_state(i)) 292 if (pm_states[i] && valid_state(i))
293 s += sprintf(s,"%s ", pm_states[i]); 293 s += sprintf(s,"%s ", pm_states[i]);
294 } 294 }
295#ifdef CONFIG_SOFTWARE_SUSPEND 295#ifdef CONFIG_HIBERNATION
296 s += sprintf(s, "%s\n", "disk"); 296 s += sprintf(s, "%s\n", "disk");
297#else 297#else
298 if (s != buf) 298 if (s != buf)