diff options
author | 2008-04-30 00:55:12 -0700 | |
---|---|---|
committer | 2008-04-30 08:29:54 -0700 | |
commit | 735643ee6cc5249bfac07fcad0946a5e7aff4423 (patch) | |
tree | e725df246f4a3cf88b6b42a28d859ab969acf81c /include/linux/pnp.h | |
parent | serial: replace remaining __FUNCTION__ occurrences (diff) | |
download | linux-735643ee6cc5249bfac07fcad0946a5e7aff4423.tar.gz linux-735643ee6cc5249bfac07fcad0946a5e7aff4423.tar.bz2 linux-735643ee6cc5249bfac07fcad0946a5e7aff4423.zip |
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 @@ #ifndef _LINUX_PNP_H #define _LINUX_PNP_H -#ifdef __KERNEL__ - #include <linux/device.h> #include <linux/list.h> #include <linux/errno.h> @@ -466,6 +464,4 @@ static inline void pnp_unregister_driver(struct pnp_driver *drv) { } #define pnp_dbg(format, arg...) do {} while (0) #endif -#endif /* __KERNEL__ */ - #endif /* _LINUX_PNP_H */ |