diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-04-24 03:34:29 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-05-20 13:53:32 -0400 |
commit | 7dfaa5f40da87e85b3883b102bbf1bf3f3b42534 (patch) | |
tree | 671329b0b2ed2aab270ec66879044051f63fd381 /drivers/scsi | |
parent | 420b4a73de8e36f0da486056189da66b0a164398 (diff) |
[SCSI] drivers/scsi/NCR53C9x.c: make a struct static
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>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/NCR53C9x.c | 2 | ||||
-rw-r--r-- | drivers/scsi/sun3x_esp.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/drivers/scsi/NCR53C9x.c b/drivers/scsi/NCR53C9x.c index 3c86655a5f33..74293f62a622 100644 --- a/drivers/scsi/NCR53C9x.c +++ b/drivers/scsi/NCR53C9x.c | |||
@@ -94,7 +94,7 @@ enum { | |||
94 | }; | 94 | }; |
95 | 95 | ||
96 | /* The master ring of all esp hosts we are managing in this driver. */ | 96 | /* The master ring of all esp hosts we are managing in this driver. */ |
97 | struct NCR_ESP *espchain; | 97 | static struct NCR_ESP *espchain; |
98 | int nesps = 0, esps_in_use = 0, esps_running = 0; | 98 | int nesps = 0, esps_in_use = 0, esps_running = 0; |
99 | 99 | ||
100 | irqreturn_t esp_intr(int irq, void *dev_id, struct pt_regs *pregs); | 100 | irqreturn_t esp_intr(int irq, void *dev_id, struct pt_regs *pregs); |
diff --git a/drivers/scsi/sun3x_esp.c b/drivers/scsi/sun3x_esp.c index 5d1dc0e8ba21..09d7639079b4 100644 --- a/drivers/scsi/sun3x_esp.c +++ b/drivers/scsi/sun3x_esp.c | |||
@@ -23,8 +23,6 @@ | |||
23 | #include <asm/dvma.h> | 23 | #include <asm/dvma.h> |
24 | #include <asm/irq.h> | 24 | #include <asm/irq.h> |
25 | 25 | ||
26 | extern struct NCR_ESP *espchain; | ||
27 | |||
28 | static void dma_barrier(struct NCR_ESP *esp); | 26 | static void dma_barrier(struct NCR_ESP *esp); |
29 | static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count); | 27 | static int dma_bytes_sent(struct NCR_ESP *esp, int fifo_count); |
30 | static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp); | 28 | static int dma_can_transfer(struct NCR_ESP *esp, Scsi_Cmnd *sp); |