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

From: Adrian Bunk
Date: Sun Nov 14 2004 - 23:02:15 EST


The patch below makes some needlessly global code static.


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

--- linux-2.6.10-rc1-mm5-full/drivers/scsi/megaraid/megaraid_mm.c.old 2004-11-13 22:43:49.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/drivers/scsi/megaraid/megaraid_mm.c 2004-11-13 22:43:58.000000000 +0100
@@ -65,7 +65,7 @@
static int adapters_count_g;
static struct list_head adapters_list_g;

-wait_queue_head_t wait_q;
+static wait_queue_head_t wait_q;

static struct file_operations lsi_fops = {
.open = mraid_mm_open,

-
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/