Skip to content

Commit

Permalink
[SCSI] drivers/scsi/NCR53C9x.c: make a struct static
Browse files Browse the repository at this point in the history
This patch makes a needlessly global struct static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
  • Loading branch information
Adrian Bunk authored and James Bottomley committed May 20, 2005
1 parent 420b4a7 commit 7dfaa5f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/scsi/NCR53C9x.c
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ enum {
};

/* The master ring of all esp hosts we are managing in this driver. */
struct NCR_ESP *espchain;
static struct NCR_ESP *espchain;
int nesps = 0, esps_in_use = 0, esps_running = 0;

irqreturn_t esp_intr(int irq, void *dev_id, struct pt_regs *pregs);
Expand Down
2 changes: 0 additions & 2 deletions drivers/scsi/sun3x_esp.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@
#include <asm/dvma.h>
#include <asm/irq.h>

extern struct NCR_ESP *espchain;

static void dma_barrier(struct NCR_ESP *esp);
static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count);
static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp);
Expand Down

0 comments on commit 7dfaa5f

Please sign in to comment.