Commit 7dfaa5f4 authored by Adrian Bunk 's avatar Adrian Bunk Committed by James Bottomley

[SCSI] drivers/scsi/NCR53C9x.c: make a struct static

This patch makes a needlessly global struct static.
Signed-off-by: default avatarAdrian Bunk <bunk@stusta.de>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 420b4a73
...@@ -94,7 +94,7 @@ enum { ...@@ -94,7 +94,7 @@ enum {
}; };
/* The master ring of all esp hosts we are managing in this driver. */ /* 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; int nesps = 0, esps_in_use = 0, esps_running = 0;
irqreturn_t esp_intr(int irq, void *dev_id, struct pt_regs *pregs); irqreturn_t esp_intr(int irq, void *dev_id, struct pt_regs *pregs);
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include <asm/dvma.h> #include <asm/dvma.h>
#include <asm/irq.h> #include <asm/irq.h>
extern struct NCR_ESP *espchain;
static void dma_barrier(struct NCR_ESP *esp); static void dma_barrier(struct NCR_ESP *esp);
static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count); static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count);
static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp); static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp);
......
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