Skip to contentSkip to conversation

SCSI osst.c: make some code static

PATCH New Adrian Bunk 1 participant 1 message Nov 15, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI osst.c: make some code static

The patch below makes some needlessly global code static.

drivers/scsi/osst.c renamed from drivers/scsi/osst.c.old +2 -2
@@ -24,7 +24,7 @@
 */
 
 static const char * cvsid = "$Id: osst.c,v 1.70 2003/12/23 14:22:12 wriede Exp $";
-const char * osst_version = "0.99.1";
+static const char * osst_version = "0.99.1";
 
 /* The "failure to reconnect" firmware bug */
 #define OSST_FW_NEED_POLL_MIN 10601 /*(107A)*/
@@ -164,7 +164,7 @@
 static int osst_probe(struct device *);
 static int osst_remove(struct device *);
 
-struct scsi_driver osst_template = {
+static struct scsi_driver osst_template = {
 	.owner			= THIS_MODULE,
 	.gendrv = {
 		.name		=  "osst",