]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
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 6f06352cf55e97f25d7b5ef54e59faaac30d13c8..5b5d4731f95654f45da356d5c631bb7758bd3395 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,