patch-2.1.37 linux/drivers/char/ftape/kernel-interface.c

Next file: linux/drivers/char/istallion.c
Previous file: linux/drivers/char/fbmem.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/char/ftape/kernel-interface.c linux/drivers/char/ftape/kernel-interface.c
@@ -29,6 +29,7 @@
 #include <linux/signal.h>
 #include <linux/major.h>
 #include <linux/malloc.h>
+#include <linux/init.h>
 #include <linux/ftape.h>
 #include <asm/dma.h>
 
@@ -120,7 +121,7 @@
 #define ftape_init init_module
 #endif
 
-int ftape_init(void)
+__initfunc(int ftape_init(void))
 {
 	int n;
 	int order;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov