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/pnp.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/pnp.h')
-rw-r--r-- | include/linux/pnp.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/pnp.h b/include/linux/pnp.h index b2f05c230f4b..2f3bcf73052c 100644 --- a/include/linux/pnp.h +++ b/include/linux/pnp.h | |||
@@ -6,8 +6,6 @@ | |||
6 | #ifndef _LINUX_PNP_H | 6 | #ifndef _LINUX_PNP_H |
7 | #define _LINUX_PNP_H | 7 | #define _LINUX_PNP_H |
8 | 8 | ||
9 | #ifdef __KERNEL__ | ||
10 | |||
11 | #include <linux/device.h> | 9 | #include <linux/device.h> |
12 | #include <linux/list.h> | 10 | #include <linux/list.h> |
13 | #include <linux/errno.h> | 11 | #include <linux/errno.h> |
@@ -466,6 +464,4 @@ static inline void pnp_unregister_driver(struct pnp_driver *drv) { } | |||
466 | #define pnp_dbg(format, arg...) do {} while (0) | 464 | #define pnp_dbg(format, arg...) do {} while (0) |
467 | #endif | 465 | #endif |
468 | 466 | ||
469 | #endif /* __KERNEL__ */ | ||
470 | |||
471 | #endif /* _LINUX_PNP_H */ | 467 | #endif /* _LINUX_PNP_H */ |