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

Next file: linux/fs/smbfs/inode.c
Previous file: linux/fs/proc/root.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.35/linux/fs/romfs/inode.c linux/fs/romfs/inode.c
@@ -39,6 +39,7 @@
 #include <linux/romfs_fs.h>
 #include <linux/fs.h>
 #include <linux/locks.h>
+#include <linux/init.h>
 
 #include <asm/uaccess.h>
 
@@ -640,8 +641,7 @@
 	romfs_read_super, "romfs", 1, NULL
 };
 
-int
-init_romfs_fs(void)
+__initfunc(int init_romfs_fs(void))
 {
 	return register_filesystem(&romfs_fs_type);
 }

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