patch-2.1.37 linux/drivers/char/tpqic02.c

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

diff -u --recursive --new-file v2.1.36/linux/drivers/char/tpqic02.c linux/drivers/char/tpqic02.c
@@ -89,6 +89,7 @@
 #include <linux/tpqic02.h>
 #include <linux/mm.h>
 #include <linux/malloc.h>
+#include <linux/init.h>
  
 #include <asm/dma.h>
 #include <asm/system.h>
@@ -2866,10 +2867,7 @@
     return 0;
 } /* qic02_get_resources */
 
-#ifdef MODULE
-static
-#endif
-int qic02_tape_init(void)
+__initfunc(static int qic02_tape_init(void))
 {
     if (TPSTATSIZE != 6)
     {

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