summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/a3000.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2009-03-04 21:06:08 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 17:17:17 +0200
commit9387edbe6045f0bde88f0f0ace51e0ead8a318fe (patch)
tree7e4db6f1e69a7d3b57d066bc026170d6f4706a8c /drivers/scsi/a3000.c
parent[SCSI] ses: #if 0 the unused ses_match_host() (diff)
downloadlinux-9387edbe6045f0bde88f0f0ace51e0ead8a318fe.tar.xz
linux-9387edbe6045f0bde88f0f0ace51e0ead8a318fe.zip
[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.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 @@
static struct Scsi_Host *a3000_host = NULL;
+static int a3000_release(struct Scsi_Host *instance);
+
static irqreturn_t a3000_intr (int irq, void *dummy)
{
unsigned long flags;
@@ -157,7 +159,7 @@ static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt,
}
}
-int __init a3000_detect(struct scsi_host_template *tpnt)
+static int __init a3000_detect(struct scsi_host_template *tpnt)
{
wd33c93_regs regs;
@@ -232,7 +234,7 @@ static struct scsi_host_template driver_template = {
#include "scsi_module.c"
-int a3000_release(struct Scsi_Host *instance)
+static int a3000_release(struct Scsi_Host *instance)
{
wd33c93_release();
DMA(instance)->CNTR = 0;