瀏覽代碼

drivers/edac: mpc85xx: add static scope

Made a previous global variable, static in scope

Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Doug Thompson 17 年之前
父節點
當前提交
cd4755c2a9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/edac/mpc85xx_edac.c

+ 1 - 1
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 ***********************************/