diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2008-04-30 03:55:12 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-30 11:29:54 -0400 |
commit | 735643ee6cc5249bfac07fcad0946a5e7aff4423 (patch) | |
tree | e725df246f4a3cf88b6b42a28d859ab969acf81c /include/linux/pm.h | |
parent | 71cc2c2152170b8166f59abb0604dc62073aeb92 (diff) |
Remove "#ifdef __KERNEL__" checks from unexported headers
Remove the "#ifdef __KERNEL__" tests from unexported header files in
linux/include whose entire contents are wrapped in that preprocessor
test.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Cc: David Woodhouse <dwmw2@infradead.org>
Cc: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/pm.h')
-rw-r--r-- | include/linux/pm.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/pm.h b/include/linux/pm.h index 1de72cbbe0d1..39a7ee859b67 100644 --- a/include/linux/pm.h +++ b/include/linux/pm.h | |||
@@ -21,8 +21,6 @@ | |||
21 | #ifndef _LINUX_PM_H | 21 | #ifndef _LINUX_PM_H |
22 | #define _LINUX_PM_H | 22 | #define _LINUX_PM_H |
23 | 23 | ||
24 | #ifdef __KERNEL__ | ||
25 | |||
26 | #include <linux/list.h> | 24 | #include <linux/list.h> |
27 | #include <asm/atomic.h> | 25 | #include <asm/atomic.h> |
28 | #include <asm/errno.h> | 26 | #include <asm/errno.h> |
@@ -225,6 +223,4 @@ extern unsigned int pm_flags; | |||
225 | #define PM_APM 1 | 223 | #define PM_APM 1 |
226 | #define PM_ACPI 2 | 224 | #define PM_ACPI 2 |
227 | 225 | ||
228 | #endif /* __KERNEL__ */ | ||
229 | |||
230 | #endif /* _LINUX_PM_H */ | 226 | #endif /* _LINUX_PM_H */ |