From 8abb719409c9060a7c0676f76e9182c1e0b8ca46 Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Sun, 19 Mar 2000 01:28:40 +0000 Subject: Merge with 2.3.99-pre1. --- fs/qnx4/inode.c | 17 ++++++----------- 1 file changed, 6 insertions(+), 11 deletions(-) (limited to 'fs/qnx4/inode.c') diff --git a/fs/qnx4/inode.c b/fs/qnx4/inode.c index b85483d3d..9e78119c9 100644 --- a/fs/qnx4/inode.c +++ b/fs/qnx4/inode.c @@ -491,23 +491,18 @@ static void qnx4_read_inode(struct inode *inode) static DECLARE_FSTYPE_DEV(qnx4_fs_type, "qnx4", qnx4_read_super); -int __init init_qnx4_fs(void) +static int __init init_qnx4_fs(void) { printk("QNX4 filesystem 0.2.2 registered.\n"); return register_filesystem(&qnx4_fs_type); } -#ifdef MODULE -EXPORT_NO_SYMBOLS; - -int init_module(void) -{ - return init_qnx4_fs(); -} - -void cleanup_module(void) +static void __exit exit_qnx4_fs(void) { unregister_filesystem(&qnx4_fs_type); } -#endif +EXPORT_NO_SYMBOLS; + +module_init(init_qnx4_fs) +module_exit(exit_qnx4_fs) -- cgit v1.2.3