patch-2.1.37 linux/drivers/cdrom/gscd.c
Next file: linux/drivers/cdrom/isp16.c
Previous file: linux/drivers/cdrom/cm206.c
Back to the patch index
Back to the overall index
- Lines: 53
- Date:
Mon May 12 10:35:39 1997
- Orig file:
v2.1.36/linux/drivers/cdrom/gscd.c
- Orig date:
Fri Apr 4 08:52:18 1997
diff -u --recursive --new-file v2.1.36/linux/drivers/cdrom/gscd.c linux/drivers/cdrom/gscd.c
@@ -55,6 +55,7 @@
#include <linux/ioport.h>
#include <linux/major.h>
#include <linux/string.h>
+#include <linux/init.h>
#include <asm/system.h>
#include <asm/io.h>
@@ -191,7 +192,7 @@
}
-void gscd_setup (char *str, int *ints)
+__initfunc(void gscd_setup (char *str, int *ints))
{
if (ints[0] > 0)
{
@@ -848,7 +849,7 @@
return;
}
-int find_drives (void)
+__initfunc(int find_drives (void))
{
int *pdrv;
int drvnum;
@@ -899,7 +900,7 @@
return drvnum;
}
-void init_cd_drive ( int num )
+__initfunc(void init_cd_drive ( int num ))
{
char resp [50];
int i;
@@ -991,7 +992,7 @@
/* Test for presence of drive and initialize it. Called only at boot time. */
-int gscd_init (void)
+__initfunc(int gscd_init (void))
{
return my_gscd_init ();
}
@@ -999,7 +1000,7 @@
/* This is the common initialisation for the GoldStar drive. */
/* It is called at boot time AND for module init. */
-int my_gscd_init (void)
+__initfunc(int my_gscd_init (void))
{
int i;
int result;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov