patch-2.1.75 linux/drivers/scsi/scsi_proc.c

Next file: linux/drivers/scsi/scsi_queue.c
Previous file: linux/drivers/scsi/scsi_obsolete.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.74/linux/drivers/scsi/scsi_proc.c linux/drivers/scsi/scsi_proc.c
@@ -16,11 +16,6 @@
  * Michael A. Griffith <grif@acm.org>
  */
 
-/*
- * Don't import our own symbols, as this would severely mess up our
- * symbol tables.
- */
-#define _SCSI_SYMS_VER_
 #define __NO_VERSION__
 #include <linux/module.h>
 
@@ -39,6 +34,7 @@
 #define FALSE 0
 #endif
 
+#ifdef CONFIG_PROC_FS
 extern int scsi_proc_info(char *, char **, off_t, int, int, int);
  
 struct scsi_dir {
@@ -295,6 +291,7 @@
     *size = y; 
     return;
 }
+#endif /* CONFIG_SCSI_PROC */
 
 /*
  * Overrides for Emacs so that we get a uniform tabbing style.

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