headers_check fix cleanup: linux/coda_psdev.h
authorJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Tue, 3 Feb 2009 13:51:38 +0000 (19:21 +0530)
committerJaswinder Singh Rajput <jaswinderrajput@gmail.com>
Tue, 3 Feb 2009 14:02:24 +0000 (19:32 +0530)
These are only for kernel internals as pointed by Arnd Bergmann:
  struct kstatfs
  struct venus_comm
  coda_vcp()

Signed-off-by: Jaswinder Singh Rajput <jaswinderrajput@gmail.com>
include/linux/coda_psdev.h

index 6f06352..5b5d473 100644 (file)
@@ -6,6 +6,7 @@
 #define CODA_PSDEV_MAJOR 67
 #define MAX_CODADEVS  5           /* how many do we allow */
 
+#ifdef __KERNEL__
 struct kstatfs;
 
 /* communication pending/processing queues */
@@ -24,7 +25,6 @@ static inline struct venus_comm *coda_vcp(struct super_block *sb)
        return (struct venus_comm *)((sb)->s_fs_info);
 }
 
-#ifdef __KERNEL__
 /* upcalls */
 int venus_rootfid(struct super_block *sb, struct CodaFid *fidp);
 int venus_getattr(struct super_block *sb, struct CodaFid *fid,