aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/sun3_scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/sun3_scsi.c')
-rw-r--r--drivers/scsi/sun3_scsi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/sun3_scsi.c b/drivers/scsi/sun3_scsi.c
index a6fe27b21dba..30353f6b599c 100644
--- a/drivers/scsi/sun3_scsi.c
+++ b/drivers/scsi/sun3_scsi.c
@@ -86,8 +86,6 @@ extern int sun3_map_test(unsigned long, char *);
86 86
87 87
88static irqreturn_t scsi_sun3_intr(int irq, void *dummy); 88static irqreturn_t scsi_sun3_intr(int irq, void *dummy);
89static inline unsigned char sun3scsi_read(int reg);
90static inline void sun3scsi_write(int reg, int value);
91 89
92static int setup_can_queue = -1; 90static int setup_can_queue = -1;
93module_param(setup_can_queue, int, 0); 91module_param(setup_can_queue, int, 0);
@@ -348,7 +346,7 @@ static int __init sun3scsi_detect(struct scsi_host_template *tpnt)
348 return 1; 346 return 1;
349} 347}
350 348
351int sun3scsi_release (struct Scsi_Host *shpnt) 349static int sun3scsi_release(struct Scsi_Host *shpnt)
352{ 350{
353 if (shpnt->irq != SCSI_IRQ_NONE) 351 if (shpnt->irq != SCSI_IRQ_NONE)
354 free_irq(shpnt->irq, shpnt); 352 free_irq(shpnt->irq, shpnt);