patch-1.3.48 linux/drivers/scsi/pas16.h

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

diff -u --recursive --new-file v1.3.47/linux/drivers/scsi/pas16.h linux/drivers/scsi/pas16.h
@@ -138,7 +138,7 @@
  * macros when this is being used solely for the host stub.
  */
 
-#ifdef HOSTS_C
+#if defined(HOSTS_C) || defined(MODULE)
 
 #define MV_PAS16 {NULL, NULL, NULL, NULL, \
 	"Pro Audio Spectrum-16 SCSI", 		\
@@ -148,7 +148,8 @@
 	/* can queue */ CAN_QUEUE, /* id */ 7, SG_ALL,			\
 	/* cmd per lun */ CMD_PER_LUN , 0, 0, DISABLE_CLUSTERING}
 
-#else
+#endif
+#ifndef HOSTS_C
 
 #define NCR5380_implementation_fields \
     volatile unsigned short io_port

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