patch-2.3.99-pre1 linux/fs/fat/fatfs_syms.c

Next file: linux/fs/fat/inode.c
Previous file: linux/fs/ext2/dir.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.51/linux/fs/fat/fatfs_syms.c linux/fs/fat/fatfs_syms.c
@@ -7,6 +7,7 @@
 #define ASC_LINUX_VERSION(V, P, S)	(((V) * 65536) + ((P) * 256) + (S))
 #include <linux/version.h>
 #include <linux/module.h>
+#include <linux/init.h>
 
 #include <linux/mm.h>
 #include <linux/msdos_fs.h>
@@ -54,8 +55,10 @@
 EXPORT_SYMBOL(fat_dir_empty);
 EXPORT_SYMBOL(fat_truncate);
 
-int init_fat_fs(void)
+static int __init init_fat_fs(void)
 {
 	fat_hash_init();
 	return 0;
 }
+
+module_init(init_fat_fs)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)