Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] a3000: make 2 functions static

a3000_{detect,release}() can become static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Adrian Bunk and committed by
James Bottomley
9387edbe e0aae1a5

+4 -5
+4 -2
drivers/scsi/a3000.c
··· 25 25 26 26 static struct Scsi_Host *a3000_host = NULL; 27 27 28 + static int a3000_release(struct Scsi_Host *instance); 29 + 28 30 static irqreturn_t a3000_intr (int irq, void *dummy) 29 31 { 30 32 unsigned long flags; ··· 159 157 } 160 158 } 161 159 162 - int __init a3000_detect(struct scsi_host_template *tpnt) 160 + static int __init a3000_detect(struct scsi_host_template *tpnt) 163 161 { 164 162 wd33c93_regs regs; 165 163 ··· 234 232 235 233 #include "scsi_module.c" 236 234 237 - int a3000_release(struct Scsi_Host *instance) 235 + static int a3000_release(struct Scsi_Host *instance) 238 236 { 239 237 wd33c93_release(); 240 238 DMA(instance)->CNTR = 0;
-3
drivers/scsi/a3000.h
··· 11 11 12 12 #include <linux/types.h> 13 13 14 - int a3000_detect(struct scsi_host_template *); 15 - int a3000_release(struct Scsi_Host *); 16 - 17 14 #ifndef CMD_PER_LUN 18 15 #define CMD_PER_LUN 2 19 16 #endif