summaryrefslogtreecommitdiffstats
path: root/kernel/power/pm.c
diff options
context:
space:
mode:
authorJeff Garzik2005-11-14 01:06:25 +0100
committerLinus Torvalds2005-11-14 03:14:10 +0100
commitbca73e4bf8563d83f7856164caa44d5f42e44cca (patch)
treeea8c50adca509c8012aed715d578b6c927f9e284 /kernel/power/pm.c
parent[PATCH] reorder struct files_struct (diff)
downloadkernel-qcow2-linux-bca73e4bf8563d83f7856164caa44d5f42e44cca.tar.gz
kernel-qcow2-linux-bca73e4bf8563d83f7856164caa44d5f42e44cca.tar.xz
kernel-qcow2-linux-bca73e4bf8563d83f7856164caa44d5f42e44cca.zip
[PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.h
Since few people need the support anymore, this moves the legacy pm_xxx functions to CONFIG_PM_LEGACY, and include/linux/pm_legacy.h. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel/power/pm.c')
-rw-r--r--kernel/power/pm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/power/pm.c b/kernel/power/pm.c
index 159149321b3c..33c508e857dd 100644
--- a/kernel/power/pm.c
+++ b/kernel/power/pm.c
@@ -23,6 +23,7 @@
#include <linux/mm.h>
#include <linux/slab.h>
#include <linux/pm.h>
+#include <linux/pm_legacy.h>
#include <linux/interrupt.h>
int pm_active;