diff options
author | Adrian Bunk <bunk@kernel.org> | 2009-03-04 15:06:08 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 11:17:17 -0400 |
commit | 9387edbe6045f0bde88f0f0ace51e0ead8a318fe (patch) | |
tree | 7e4db6f1e69a7d3b57d066bc026170d6f4706a8c /drivers/scsi/a3000.c | |
parent | e0aae1a53133f0d7833c8f358a0ccc7055fc5b28 (diff) |
[SCSI] a3000: make 2 functions static
a3000_{detect,release}() can become static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
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; |