patch-1.3.39 linux/drivers/scsi/scsi_syms.c

Next file: linux/drivers/scsi/sd.c
Previous file: linux/drivers/scsi/scsi_module.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.38/linux/drivers/scsi/scsi_syms.c linux/drivers/scsi/scsi_syms.c
@@ -6,16 +6,9 @@
 #error Go away.
 #endif
 
-/*
- * Even though we are building a module, we need to undef this, since
- * we are building a symbol table to be used by other modules.  For
- * the symbol table to build properly, we need to undefine this.
- */
-#undef MODULE
-
 #include <linux/module.h>
-
 #include <linux/config.h>
+
 #include <linux/sched.h>
 #include <linux/timer.h>
 #include <linux/string.h>
@@ -47,10 +40,6 @@
 
 struct symbol_table scsi_symbol_table = {
 #include <linux/symtab_begin.h>
-#ifdef CONFIG_MODVERSIONS
-    { (void *)1 /* Version version :-) */, 
-	SYMBOL_NAME_STR(Using_Versions) },
-#endif
     X(scsi_register_module),
     X(scsi_unregister_module),
     X(scsi_free),

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