[patch 6/7] coda_psdev: dont export internals to user space
From: arnd
Date: Wed Feb 25 2009 - 19:04:26 EST
Most of this header file makes no sense in user space
and should not be exported.
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
include/linux/coda_psdev.h | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h
index 07ae8f8..babce2e 100644
--- a/include/linux/coda_psdev.h
+++ b/include/linux/coda_psdev.h
@@ -6,6 +6,8 @@
#define CODA_PSDEV_MAJOR 67
#define MAX_CODADEVS 5 /* how many do we allow */
+#ifdef __KERNEL__
+
struct kstatfs;
/* communication pending/processing queues */
@@ -90,3 +92,4 @@ struct upc_req {
extern struct venus_comm coda_comms[];
#endif
+#endif
--
1.5.6.3
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/