aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/a3000.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-13 17:29:07 -0400
committerPaul Mundt <lethal@linux-sh.org>2009-04-13 17:29:07 -0400
commitf499cae1e59d75d5eb24c23d47cf8986e6032c6d (patch)
tree1af6235c18391212c40116eb90b01eae8938efee /drivers/scsi/a3000.c
parentfc3f55e672e1ed917dd9e215af81939cd3d717da (diff)
parent80a04d3f2f94fb68b5df05e3ac6697130bc3467a (diff)
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
Diffstat (limited to 'drivers/scsi/a3000.c')
-rw-r--r--drivers/scsi/a3000.c6
1 files changed, 4 insertions, 2 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
26static struct Scsi_Host *a3000_host = NULL; 26static struct Scsi_Host *a3000_host = NULL;
27 27
28static int a3000_release(struct Scsi_Host *instance);
29
28static irqreturn_t a3000_intr (int irq, void *dummy) 30static 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
160int __init a3000_detect(struct scsi_host_template *tpnt) 162static 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
235int a3000_release(struct Scsi_Host *instance) 237static 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;