diff options
Diffstat (limited to 'drivers/scsi/a2091.c')
-rw-r--r-- | drivers/scsi/a2091.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/a2091.c b/drivers/scsi/a2091.c index 37dd47136fb1..4b38c4750f77 100644 --- a/drivers/scsi/a2091.c +++ b/drivers/scsi/a2091.c | |||
@@ -23,6 +23,8 @@ | |||
23 | #define DMA(ptr) ((a2091_scsiregs *)((ptr)->base)) | 23 | #define DMA(ptr) ((a2091_scsiregs *)((ptr)->base)) |
24 | #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) | 24 | #define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata)) |
25 | 25 | ||
26 | static int a2091_release(struct Scsi_Host *instance); | ||
27 | |||
26 | static irqreturn_t a2091_intr (int irq, void *_instance) | 28 | static irqreturn_t a2091_intr (int irq, void *_instance) |
27 | { | 29 | { |
28 | unsigned long flags; | 30 | unsigned long flags; |
@@ -144,7 +146,7 @@ static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, | |||
144 | } | 146 | } |
145 | } | 147 | } |
146 | 148 | ||
147 | int __init a2091_detect(struct scsi_host_template *tpnt) | 149 | static int __init a2091_detect(struct scsi_host_template *tpnt) |
148 | { | 150 | { |
149 | static unsigned char called = 0; | 151 | static unsigned char called = 0; |
150 | struct Scsi_Host *instance; | 152 | struct Scsi_Host *instance; |
@@ -233,7 +235,7 @@ static struct scsi_host_template driver_template = { | |||
233 | 235 | ||
234 | #include "scsi_module.c" | 236 | #include "scsi_module.c" |
235 | 237 | ||
236 | int a2091_release(struct Scsi_Host *instance) | 238 | static int a2091_release(struct Scsi_Host *instance) |
237 | { | 239 | { |
238 | #ifdef MODULE | 240 | #ifdef MODULE |
239 | DMA(instance)->CNTR = 0; | 241 | DMA(instance)->CNTR = 0; |