projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a77c46
)
PM: Fix build issue in main.c for CONFIG_PM_SLEEP unset
author
Rafael J. Wysocki
<rjw@sisk.pl>
Thu, 11 Aug 2011 20:38:12 +0000
(22:38 +0200)
committer
Rafael J. Wysocki
<rjw@sisk.pl>
Sun, 16 Oct 2011 21:27:46 +0000
(23:27 +0200)
Suspend statistics should depend on CONFIG_PM_SLEEP, so make that
happen.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
kernel/power/main.c
patch
|
blob
|
history
diff --git
a/kernel/power/main.c
b/kernel/power/main.c
index
2757acb
..
a52e884
100644
(file)
--- a/
kernel/power/main.c
+++ b/
kernel/power/main.c
@@
-133,8
+133,6
@@
static ssize_t pm_test_store(struct kobject *kobj, struct kobj_attribute *attr,
power_attr(pm_test);
#endif /* CONFIG_PM_DEBUG */
-#endif /* CONFIG_PM_SLEEP */
-
#ifdef CONFIG_DEBUG_FS
static char *suspend_step_name(enum suspend_stat_step step)
{
@@
-230,6
+228,8
@@
static int __init pm_debugfs_init(void)
late_initcall(pm_debugfs_init);
#endif /* CONFIG_DEBUG_FS */
+#endif /* CONFIG_PM_SLEEP */
+
struct kobject *power_kobj;
/**