diff options
author | Ingo Molnar <mingo@elte.hu> | 2009-04-07 06:05:21 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-07 06:05:25 -0400 |
commit | 6c009ecef8cca28c7c09eb16d0802e37915a76e1 (patch) | |
tree | 11c773f780186fdb9fbc9c80a73fb7c8426b1fba /drivers/scsi/a3000.c | |
parent | 98c2aaf8be5baf7193be37fb28bce8e7327158bc (diff) | |
parent | d508afb437daee7cf07da085b635c44a4ebf9b38 (diff) |
Merge branch 'linus' into perfcounters/core
Merge reason: need the upstream facility added by:
7f1e2ca: hrtimer: fix rq->lock inversion (again)
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/scsi/a3000.c')
-rw-r--r-- | drivers/scsi/a3000.c | 6 |
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 | ||
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; |