diff options
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/a3000.c | 6 | ||||
-rw-r--r-- | drivers/scsi/a3000.h | 3 |
2 files changed, 4 insertions, 5 deletions
diff --git a/drivers/scsi/a3000.c b/drivers/scsi/a3000.c index 8b449d8acacd..6970ce82c4ac 100644 --- a/drivers/scsi/a3000.c +++ b/drivers/scsi/a3000.c | |||
@@ -25,6 +25,8 @@ | |||
25 | 25 | ||
26 | static struct Scsi_Host *a3000_host = NULL; | 26 | static struct Scsi_Host *a3000_host = NULL; |
27 | 27 | ||
28 | static int a3000_release(struct Scsi_Host *instance); | ||
29 | |||
28 | static irqreturn_t a3000_intr (int irq, void *dummy) | 30 | static irqreturn_t a3000_intr (int irq, void *dummy) |
29 | { | 31 | { |
30 | unsigned long flags; | 32 | unsigned long flags; |
@@ -157,7 +159,7 @@ static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, | |||
157 | } | 159 | } |
158 | } | 160 | } |
159 | 161 | ||
160 | int __init a3000_detect(struct scsi_host_template *tpnt) | 162 | static int __init a3000_detect(struct scsi_host_template *tpnt) |
161 | { | 163 | { |
162 | wd33c93_regs regs; | 164 | wd33c93_regs regs; |
163 | 165 | ||
@@ -232,7 +234,7 @@ static struct scsi_host_template driver_template = { | |||
232 | 234 | ||
233 | #include "scsi_module.c" | 235 | #include "scsi_module.c" |
234 | 236 | ||
235 | int a3000_release(struct Scsi_Host *instance) | 237 | static int a3000_release(struct Scsi_Host *instance) |
236 | { | 238 | { |
237 | wd33c93_release(); | 239 | wd33c93_release(); |
238 | DMA(instance)->CNTR = 0; | 240 | DMA(instance)->CNTR = 0; |
diff --git a/drivers/scsi/a3000.h b/drivers/scsi/a3000.h index 44a4ec7b4650..c7afe16fd6e4 100644 --- a/drivers/scsi/a3000.h +++ b/drivers/scsi/a3000.h | |||
@@ -11,9 +11,6 @@ | |||
11 | 11 | ||
12 | #include <linux/types.h> | 12 | #include <linux/types.h> |
13 | 13 | ||
14 | int a3000_detect(struct scsi_host_template *); | ||
15 | int a3000_release(struct Scsi_Host *); | ||
16 | |||
17 | #ifndef CMD_PER_LUN | 14 | #ifndef CMD_PER_LUN |
18 | #define CMD_PER_LUN 2 | 15 | #define CMD_PER_LUN 2 |
19 | #endif | 16 | #endif |