patch-2.4.4 linux/drivers/scsi/qlogicfas.h

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

diff -u --recursive --new-file v2.4.3/linux/drivers/scsi/qlogicfas.h linux/drivers/scsi/qlogicfas.h
@@ -13,6 +13,12 @@
 #define NULL (0)
 #endif
 
+#ifdef PCMCIA
+#define __QLINIT __devinit
+#else
+#define __QLINIT __init
+#endif
+
 #define QLOGICFAS {		\
 	detect:         qlogicfas_detect,	\
 	info:           qlogicfas_info,		\

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)