Browse Source

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 năm trước cách đây
mục cha
commit
cd4755c2a9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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 ***********************************/