Skip to contentSkip to conversation

Make sgiwd93_detect and sgiwd93_detect static.

SCSI Ralf Baechle 2 participants 3 messages Mar 9, 2006 SCSI

lore
Share & tools
lore
#0 lore raw

Nothing outside sgiwd93.c references them.

drivers/scsi/sgiwd93.c +2 -2
index bf2ceb5..7cd366f 100644
@@ -265,7 +265,7 @@ out_unregister:
 	return NULL;
 }
 
-int __init sgiwd93_detect(struct scsi_host_template *SGIblows)
+static int __init sgiwd93_detect(struct scsi_host_template *SGIblows)
 {
 	int found = 0;
 
@@ -288,7 +288,7 @@ int __init sgiwd93_detect(struct scsi_ho
 	return found;
 }
 
-int sgiwd93_release(struct Scsi_Host *instance)
+static int sgiwd93_release(struct Scsi_Host *instance)
 {
 	struct ip22_hostdata *hdata = HDATA(instance);
 	int irq = 0;
#1 lore raw
Quoted 1 line · Ralf Baechle

Nothing outside sgiwd93.c references them.

Any plans to migrate sgiwd93.c away from the scsi_module.c horribleness?

#2 lore raw
Quoted 1 line · Matthew Wilcox

Any plans to migrate sgiwd93.c away from the scsi_module.c horribleness?

I'll take a look at this.

Ralf