[RFC PATCH] drivers: edac: edac_reg_data[] can be static

From: kbuild test robot
Date: Wed Aug 29 2018 - 10:43:31 EST



Fixes: 6984008cfe6b ("drivers: edac: Add EDAC driver support for QCOM SoCs")
Signed-off-by: kbuild test robot <fengguang.wu@xxxxxxxxx>
---
qcom_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/qcom_edac.c b/drivers/edac/qcom_edac.c
index 871ed07..69b4cb5 100644
--- a/drivers/edac/qcom_edac.c
+++ b/drivers/edac/qcom_edac.c
@@ -83,7 +83,7 @@ enum {
LLCC_TRAM_UE,
};

-const struct llcc_edac_reg_data edac_reg_data[] = {
+static const struct llcc_edac_reg_data edac_reg_data[] = {
[LLCC_DRAM_CE] = {
.name = "DRAM Single-bit",
.synd_reg = DRP_ECC_SB_ERR_SYN0,