From: Jaswinder Singh Rajput Date: Tue, 3 Feb 2009 13:51:38 +0000 (+0530) Subject: headers_check fix cleanup: linux/coda_psdev.h X-Git-Tag: v2.6.30-rc1~655^2~12^2~2 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=f2cddb29ebfc02dfd2c4b439aa0433393ad15575;p=~emulex%2Finfiniband.git headers_check fix cleanup: linux/coda_psdev.h These are only for kernel internals as pointed by Arnd Bergmann: struct kstatfs struct venus_comm coda_vcp() Signed-off-by: Jaswinder Singh Rajput --- diff --git a/include/linux/coda_psdev.h b/include/linux/coda_psdev.h index 6f06352cf55..5b5d4731f95 100644 --- a/include/linux/coda_psdev.h +++ b/include/linux/coda_psdev.h @@ -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,