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

Next file: linux/fs/buffer.c
Previous file: linux/drivers/scsi/t128.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v1.3.47/linux/drivers/scsi/t128.h linux/drivers/scsi/t128.h
@@ -115,7 +115,7 @@
  * macros when this is being used solely for the host stub.
  */
 
-#ifdef HOSTS_C
+#if defined(HOSTS_C) || defined(MODULE)
 
 #define TRANTOR_T128 {NULL, NULL, NULL, NULL, \
 	"Trantor T128/T128F/T228", t128_detect, NULL,  \
@@ -125,7 +125,9 @@
 	/* 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 char *base

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