diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2000-03-19 01:28:40 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2000-03-19 01:28:40 +0000 |
commit | 8abb719409c9060a7c0676f76e9182c1e0b8ca46 (patch) | |
tree | b88cc5a6cd513a04a512b7e6215c873c90a1c5dd /fs/affs | |
parent | f01bd7aeafd95a08aafc9e3636bb26974df69d82 (diff) |
Merge with 2.3.99-pre1.
Diffstat (limited to 'fs/affs')
-rw-r--r-- | fs/affs/super.c | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/fs/affs/super.c b/fs/affs/super.c index 5f2387bde..46c11a8e2 100644 --- a/fs/affs/super.c +++ b/fs/affs/super.c @@ -672,24 +672,17 @@ affs_statfs(struct super_block *sb, struct statfs *buf) static DECLARE_FSTYPE_DEV(affs_fs_type, "affs", affs_read_super); -int __init init_affs_fs(void) +static int __init init_affs_fs(void) { return register_filesystem(&affs_fs_type); } -#ifdef MODULE -EXPORT_NO_SYMBOLS; - -int -init_module(void) -{ - return register_filesystem(&affs_fs_type); -} - -void -cleanup_module(void) +static void __exit exit_affs_fs(void) { unregister_filesystem(&affs_fs_type); } -#endif +EXPORT_NO_SYMBOLS; + +module_init(init_affs_fs) +module_exit(exit_affs_fs) |