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

From: Adrian Bunk
Date: Sun Jan 16 2005 - 03:35:23 EST


The patch forwarded below still applies and compiles against
2.6.11-rc1-mm1.

Please apply.


----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Tue, 21 Dec 2004 01:41:51 +0100
From: Adrian Bunk <bunk@xxxxxxxxx>
To: Andrew Morton <akpm@xxxxxxxx>
Cc: James.Bottomley@xxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx,
linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch] SCSI megaraid_mm.c: make some code static (fwd)

The patch forwarded below still applies and compiles against
2.6.10-rc3-mm1.

Please apply.



----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----

Date: Mon, 15 Nov 2004 03:14:57 +0100
From: Adrian Bunk <bunk@xxxxxxxxx>
To: James.Bottomley@xxxxxxxxxxxx
Cc: linux-scsi@xxxxxxxxxxxxxxx, linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch] SCSI megaraid_mm.c: make some code static

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/

----- End forwarded message -----

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

----- End forwarded message -----

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