patch-2.1.37 linux/drivers/cdrom/mcdx.c

Next file: linux/drivers/cdrom/optcd.c
Previous file: linux/drivers/cdrom/mcd.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.36/linux/drivers/cdrom/mcdx.c linux/drivers/cdrom/mcdx.c
@@ -63,6 +63,7 @@
 #include <linux/ioport.h>
 #include <linux/mm.h>
 #include <linux/malloc.h>
+#include <linux/init.h>
 #include <asm/io.h>
 #include <asm/uaccess.h>
 
@@ -910,7 +911,7 @@
 	return 1;
 }
 
-void mcdx_setup(char *str, int *pi)
+__initfunc(void mcdx_setup(char *str, int *pi))
 {
 	if (pi[0] > 0) mcdx_drive_map[0][0] = pi[1];
 	if (pi[0] > 1) mcdx_drive_map[0][1] = pi[2];
@@ -1160,7 +1161,7 @@
 
 /* Support functions ************************************************/
 
-int mcdx_init(void)
+__initfunc(int mcdx_init(void))
 {
 	int drive;
 

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