lkml.org 
[lkml]   [2008]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 3/4] drivers-edac-mpc85xx-add-static-scope
From: Doug Thompson <dougthompson@xmission.com>

Made a previous global variable, static in scope

Signed-off-by: Doug Thompson <dougthompson@xmission.com>
---
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 ***********************************/


\
 
 \ /
  Last update: 2008-01-03 23:03    [W:0.043 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site