Skip to contentSkip to conversation

SCSI NCR_Q720.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 NCR_Q720.c: make some code static

The patch below makes two needlessly global structs static.

drivers/scsi/NCR_Q720.c renamed from drivers/scsi/NCR_Q720.c.old +2 -2
@@ -48,7 +48,7 @@
 	struct Scsi_Host	*hosts[4];
 };
 
-struct scsi_host_template NCR_Q720_tpnt = {
+static struct scsi_host_template NCR_Q720_tpnt = {
 	.module			= THIS_MODULE,
 	.proc_name		= "NCR_Q720",
 };
@@ -345,7 +345,7 @@
 
 static short NCR_Q720_id_table[] = { NCR_Q720_MCA_ID, 0 };
 
-struct mca_driver NCR_Q720_driver = {
+static struct mca_driver NCR_Q720_driver = {
 	.id_table = NCR_Q720_id_table,
 	.driver = {
 		.name		= "NCR_Q720",