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

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

diff -u --recursive --new-file v2.1.36/linux/drivers/cdrom/cdi.c linux/drivers/cdrom/cdi.c
@@ -28,6 +28,7 @@
 
 #include <linux/config.h>
 #include <linux/blk.h>  /* where the proto type of cdi_init() is */
+#include <linux/init.h>
 #ifdef CONFIG_ISP16_CDI
 #include <linux/isp16.h>
 #endif CONFIG_ISP16_CDI
@@ -35,8 +36,8 @@
 /*
  *  Cdrom interface configuration.
  */
-int
-cdi_init(void)
+__initfunc(int
+cdi_init(void))
 {
   int ret_val = -1;
 

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