patch-2.1.38 linux/fs/autofs/init.c
Next file: linux/fs/autofs/root.c
Previous file: linux/fs/autofs/autofs_i.h
Back to the patch index
Back to the overall index
- Lines: 16
- Date:
Thu May 15 15:45:12 1997
- Orig file:
v2.1.37/linux/fs/autofs/init.c
- Orig date:
Tue May 13 22:41:14 1997
diff -u --recursive --new-file v2.1.37/linux/fs/autofs/init.c linux/fs/autofs/init.c
@@ -10,9 +10,14 @@
*
* ------------------------------------------------------------------------- */
-#include <linux/init.h>
#include <linux/module.h>
#include "autofs_i.h"
+
+#if LINUX_VERSION_CODE < kver(2,1,36)
+#define __initfunc(X) X
+#else
+#include <linux/init.h>
+#endif
static struct file_system_type autofs_fs_type = {
autofs_read_super, "autofs", 0, NULL
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov