Skip to contentSkip to conversation

SCSI NCR_D700.c: make some code static

PATCH New Adrian Bunk 1 participant 1 message Feb 27, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

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

This patch makes some needlessly global code static.

drivers/scsi/NCR_D700.c renamed from drivers/scsi/NCR_D700.c.old +2 -2
@@ -106,7 +106,7 @@
 #include "53c700.h"
 #include "NCR_D700.h"
 
-char *NCR_D700;			/* command line from insmod */
+static char *NCR_D700;		/* command line from insmod */
 
 MODULE_AUTHOR("James Bottomley");
 MODULE_DESCRIPTION("NCR Dual700 SCSI Driver");
@@ -352,7 +352,7 @@
 
 static short NCR_D700_id_table[] = { NCR_D700_MCA_ID, 0 };
 
-struct mca_driver NCR_D700_driver = {
+static struct mca_driver NCR_D700_driver = {
 	.id_table = NCR_D700_id_table,
 	.driver = {
 		.name		= "NCR_D700",