patch-2.1.36 linux/fs/ncpfs/inode.c

Next file: linux/fs/nfs/dir.c
Previous file: linux/fs/msdos/msdosfs_syms.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/fs/ncpfs/inode.c linux/fs/ncpfs/inode.c
@@ -23,6 +23,7 @@
 #include <linux/locks.h>
 #include <linux/fcntl.h>
 #include <linux/malloc.h>
+#include <linux/init.h>
 #ifdef CONFIG_KERNELD
 #include <linux/kerneld.h>
 #endif
@@ -409,7 +410,7 @@
 	ncp_read_super, "ncpfs", 0, NULL
 };
 
-int init_ncp_fs(void)
+__initfunc(int init_ncp_fs(void))
 {
 	return register_filesystem(&ncp_fs_type);
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov