patch-1.3.39 linux/drivers/cdrom/cdu31a.c

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

diff -u --recursive --new-file v1.3.38/linux/drivers/cdrom/cdu31a.c linux/drivers/cdrom/cdu31a.c
@@ -2990,10 +2990,6 @@
 /*
  * Initialize the driver.
  */
-#ifdef MODULE
-#define cdu31a_init init_module
-#endif
-
 int
 cdu31a_init(void)
 {
@@ -3156,6 +3152,13 @@
 }
 
 #ifdef MODULE
+
+int
+init_module(void)
+{
+	return cdu31a_init();
+}
+
 void
 cleanup_module(void)
 {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov with Sam's (original) version
of this