|
@@ -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;
|