[patch 6/7] coda_psdev: dont export internals to user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux