patch-1.3.7 linux/drivers/scsi/scsi_ioctl.c
Next file: linux/drivers/scsi/scsi_proc.c
Previous file: linux/drivers/scsi/scsi_debug.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Jul 4 07:59:54 1995
- Orig file:
v1.3.6/linux/drivers/scsi/scsi_ioctl.c
- Orig date:
Thu Jun 29 19:02:52 1995
diff -u --recursive --new-file v1.3.6/linux/drivers/scsi/scsi_ioctl.c linux/drivers/scsi/scsi_ioctl.c
@@ -1,3 +1,17 @@
+#ifdef MODULE
+/*
+ * Don't import our own symbols, as this would severely mess up our
+ * symbol tables.
+ */
+#define _SCSI_SYMS_VER_
+#include <linux/autoconf.h>
+#include <linux/module.h>
+#include <linux/version.h>
+#else
+#define MOD_INC_USE_COUNT
+#define MOD_DEC_USE_COUNT
+#endif
+
#include <asm/io.h>
#include <asm/segment.h>
#include <asm/system.h>
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