From: Doug Thompson Date: Thu, 7 Feb 2008 08:15:02 +0000 (-0800) Subject: drivers/edac: mpc85xx: add static scope X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cd4755c2a9e691ada331084a76ac4458c4ff2749;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git drivers/edac: mpc85xx: add static scope Made a previous global variable, static in scope Signed-off-by: Doug Thompson Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/edac/mpc85xx_edac.c b/drivers/edac/mpc85xx_edac.c index fd1726e2b425..065732ddf40c 100644 --- a/drivers/edac/mpc85xx_edac.c +++ b/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 ***********************************/