2008-01-03 21:58:57

by dougthompson

[permalink] [raw]
Subject: [PATCH 3/4] drivers-edac-mpc85xx-add-static-scope

From: Doug Thompson <[email protected]>

Made a previous global variable, static in scope

Signed-off-by: Doug Thompson <[email protected]>
---
mpc85xx_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-2.6.23.8/drivers/edac/mpc85xx_edac.c
===================================================================
--- linux-2.6.23.8.orig/drivers/edac/mpc85xx_edac.c
+++ linux-2.6.23.8/drivers/edac/mpc85xx_edac.c
@@ -43,7 +43,7 @@ static u32 orig_pci_err_en;
static u32 orig_l2_err_disable;
static u32 orig_hid1;

-const char *mpc85xx_ctl_name = "MPC85xx";
+static const char *mpc85xx_ctl_name = "MPC85xx";

/************************ MC SYSFS parts ***********************************/