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
- Lines: 20
- Date:
Mon Mar 13 12:35:39 2000
- Orig file:
v2.3.51/linux/fs/fat/fatfs_syms.c
- Orig date:
Tue Mar 7 14:32:26 2000
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)