Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142129
b: refs/heads/master
c: 5880f48
h: refs/heads/master
i:
  142127: dc58d1e
v: v3
  • Loading branch information
Adrian Bunk authored and James Bottomley committed Apr 3, 2009
1 parent eaa0157 commit 93e870f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9387edbe6045f0bde88f0f0ace51e0ead8a318fe
refs/heads/master: 5880f486ef733dae820724a71e3b91241c7921bd
6 changes: 4 additions & 2 deletions trunk/drivers/scsi/a2091.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@
#define DMA(ptr) ((a2091_scsiregs *)((ptr)->base))
#define HDATA(ptr) ((struct WD33C93_hostdata *)((ptr)->hostdata))

static int a2091_release(struct Scsi_Host *instance);

static irqreturn_t a2091_intr (int irq, void *_instance)
{
unsigned long flags;
Expand Down Expand Up @@ -144,7 +146,7 @@ static void dma_stop(struct Scsi_Host *instance, struct scsi_cmnd *SCpnt,
}
}

int __init a2091_detect(struct scsi_host_template *tpnt)
static int __init a2091_detect(struct scsi_host_template *tpnt)
{
static unsigned char called = 0;
struct Scsi_Host *instance;
Expand Down Expand Up @@ -233,7 +235,7 @@ static struct scsi_host_template driver_template = {

#include "scsi_module.c"

int a2091_release(struct Scsi_Host *instance)
static int a2091_release(struct Scsi_Host *instance)
{
#ifdef MODULE
DMA(instance)->CNTR = 0;
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/scsi/a2091.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@

#include <linux/types.h>

int a2091_detect(struct scsi_host_template *);
int a2091_release(struct Scsi_Host *);

#ifndef CMD_PER_LUN
#define CMD_PER_LUN 2
#endif
Expand Down

0 comments on commit 93e870f

Please sign in to comment.