[2.6 patch] SCSI NCR_Q720.c: make some code static

From: Adrian Bunk
Date: Sun Jan 23 2005 - 05:17:37 EST


This patch makes two needlessly global structs static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

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",

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/