patch-2.1.37 linux/drivers/cdrom/mcd.c
Next file: linux/drivers/cdrom/mcdx.c
Previous file: linux/drivers/cdrom/isp16.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Mon May 12 10:35:39 1997
- Orig file:
v2.1.36/linux/drivers/cdrom/mcd.c
- Orig date:
Fri Apr 4 08:52:18 1997
diff -u --recursive --new-file v2.1.36/linux/drivers/cdrom/mcd.c linux/drivers/cdrom/mcd.c
@@ -80,6 +80,7 @@
#include <linux/ioport.h>
#include <linux/string.h>
#include <linux/delay.h>
+#include <linux/init.h>
/* #define REALLY_SLOW_IO */
#include <asm/system.h>
@@ -196,7 +197,7 @@
static int getValue(unsigned char *result);
-void mcd_setup(char *str, int *ints)
+__initfunc(void mcd_setup(char *str, int *ints))
{
if (ints[0] > 0)
mcd_port = ints[1];
@@ -1175,7 +1176,7 @@
* Test for presence of drive and initialize it. Called at boot time.
*/
-int mcd_init(void)
+__initfunc(int mcd_init(void))
{
int count;
unsigned char result[3];
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov