lkml.org 
[lkml]   [2018]   [Aug]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[RFC PATCH] drivers: edac: edac_reg_data[] can be static

Fixes: 6984008cfe6b ("drivers: edac: Add EDAC driver support for QCOM SoCs")
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
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,
\
 
 \ /
  Last update: 2018-08-29 16:44    [W:0.070 / U:3.636 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site