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

From: Adrian Bunk
Date: Wed Nov 24 2004 - 19:55:32 EST



The patch forwarded below still applies and compiles against
2.6.10-rc2-mm3.

Please apply.



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

Date: Mon, 15 Nov 2004 02:57:36 +0100
From: Adrian Bunk <bunk@xxxxxxxxx>
To: deanna_bonds@xxxxxxxxxxx
Cc: James.Bottomley@xxxxxxxxxxxx, linux-scsi@xxxxxxxxxxxxxxx,
linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch] SCSI: dpt_i2o.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/dpt_i2o.c.old 2004-11-13 21:01:47.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/drivers/scsi/dpt_i2o.c 2004-11-13 21:01:57.000000000 +0100
@@ -108,7 +108,7 @@
*============================================================================
*/

-DECLARE_MUTEX(adpt_configuration_lock);
+static DECLARE_MUTEX(adpt_configuration_lock);

static struct i2o_sys_tbl *sys_tbl = NULL;
static int sys_tbl_ind = 0;

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