public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6 patch] SCSI NCR_Q720.c: make some code static
@ 2004-11-15  2:21 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2004-11-15  2:21 UTC (permalink / raw)
  To: James.Bottomley; +Cc: linux-scsi, linux-kernel

The patch below makes two needlessly global structs static.


Signed-off-by: Adrian Bunk <bunk@stusta.de>

--- linux-2.6.10-rc1-mm5-full/drivers/scsi/NCR_Q720.c.old	2004-11-13 16:34:15.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/drivers/scsi/NCR_Q720.c	2004-11-13 16:34:32.000000000 +0100
@@ -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",


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [2.6 patch] SCSI NCR_Q720.c: make some code static
@ 2005-01-23 10:15 Adrian Bunk
  0 siblings, 0 replies; 2+ messages in thread
From: Adrian Bunk @ 2005-01-23 10:15 UTC (permalink / raw)
  To: Andrew Morton; +Cc: James.Bottomley, linux-scsi, linux-kernel

This patch makes two needlessly global structs static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

This patch was already sent on:
- 15 Nov 2004

--- linux-2.6.10-rc1-mm5-full/drivers/scsi/NCR_Q720.c.old	2004-11-13 16:34:15.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/drivers/scsi/NCR_Q720.c	2004-11-13 16:34:32.000000000 +0100
@@ -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",


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-01-23 10:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-01-23 10:15 [2.6 patch] SCSI NCR_Q720.c: make some code static Adrian Bunk
  -- strict thread matches above, loose matches on Subject: below --
2004-11-15  2:21 Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox