patch-2.1.36 linux/drivers/scsi/qlogicpti.c
Next file: linux/drivers/scsi/qlogicpti_asm.c
Previous file: linux/drivers/scsi/ppa.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Thu Apr 17 13:20:47 1997
- Orig file:
v2.1.35/linux/drivers/scsi/qlogicpti.c
- Orig date:
Mon Apr 14 16:28:16 1997
diff -u --recursive --new-file v2.1.35/linux/drivers/scsi/qlogicpti.c linux/drivers/scsi/qlogicpti.c
@@ -18,6 +18,7 @@
#include <linux/blk.h>
#include <linux/proc_fs.h>
#include <linux/stat.h>
+#include <linux/init.h>
#include <asm/byteorder.h>
@@ -342,7 +343,7 @@
#define PTI_RESET_LIMIT 400
-static int qlogicpti_load_firmware(struct qlogicpti *qpti)
+__initfunc(static int qlogicpti_load_firmware(struct qlogicpti *qpti))
{
struct qlogicpti_regs *qregs = qpti->qregs;
unsigned short csum = 0;
@@ -561,7 +562,7 @@
static void qlogicpti_intr_handler(int irq, void *dev_id, struct pt_regs *regs);
/* Detect all PTI Qlogic ISP's in the machine. */
-int qlogicpti_detect(Scsi_Host_Template *tpnt)
+__initfunc(int qlogicpti_detect(Scsi_Host_Template *tpnt))
{
struct qlogicpti *qpti, *qlink;
struct Scsi_Host *qpti_host;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov