Commit 9387edbe authored by Adrian Bunk's avatar Adrian Bunk Committed by James Bottomley

[SCSI] a3000: make 2 functions static

a3000_{detect,release}() can become static.
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent e0aae1a5
...@@ -25,6 +25,8 @@ ...@@ -25,6 +25,8 @@
static struct Scsi_Host *a3000_host = NULL; static struct Scsi_Host *a3000_host = NULL;
static int a3000_release(struct Scsi_Host *instance);
static irqreturn_t a3000_intr (int irq, void *dummy) static irqreturn_t a3000_intr (int irq, void *dummy)
{ {
unsigned long flags; unsigned long flags;
...@@ -157,7 +159,7 @@ static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt, ...@@ -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; wd33c93_regs regs;
...@@ -232,7 +234,7 @@ static struct scsi_host_template driver_template = { ...@@ -232,7 +234,7 @@ static struct scsi_host_template driver_template = {
#include "scsi_module.c" #include "scsi_module.c"
int a3000_release(struct Scsi_Host *instance) static int a3000_release(struct Scsi_Host *instance)
{ {
wd33c93_release(); wd33c93_release();
DMA(instance)->CNTR = 0; DMA(instance)->CNTR = 0;
......
...@@ -11,9 +11,6 @@ ...@@ -11,9 +11,6 @@
#include <linux/types.h> #include <linux/types.h>
int a3000_detect(struct scsi_host_template *);
int a3000_release(struct Scsi_Host *);
#ifndef CMD_PER_LUN #ifndef CMD_PER_LUN
#define CMD_PER_LUN 2 #define CMD_PER_LUN 2
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment