hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/edac/thunderx_edac.c
....@@ -454,7 +454,7 @@
454454 DEBUGFS_STRUCT(inject_ecc, 0200, thunderx_lmc_inject_ecc_write, NULL);
455455 DEBUGFS_STRUCT(int_w1c, 0400, NULL, thunderx_lmc_int_read);
456456
457
-struct debugfs_entry *lmc_dfs_ents[] = {
457
+static struct debugfs_entry *lmc_dfs_ents[] = {
458458 &debugfs_mask0,
459459 &debugfs_mask2,
460460 &debugfs_parity_test,
....@@ -1278,7 +1278,7 @@
12781278
12791279 OCX_DEBUGFS_ATTR(com_int, OCX_COM_INT_W1S);
12801280
1281
-struct debugfs_entry *ocx_dfs_ents[] = {
1281
+static struct debugfs_entry *ocx_dfs_ents[] = {
12821282 &debugfs_tlk0_ecc_ctl,
12831283 &debugfs_tlk1_ecc_ctl,
12841284 &debugfs_tlk2_ecc_ctl,
....@@ -1919,19 +1919,19 @@
19191919
19201920 L2C_DEBUGFS_ATTR(tad_int, L2C_TAD_INT_W1S);
19211921
1922
-struct debugfs_entry *l2c_tad_dfs_ents[] = {
1922
+static struct debugfs_entry *l2c_tad_dfs_ents[] = {
19231923 &debugfs_tad_int,
19241924 };
19251925
19261926 L2C_DEBUGFS_ATTR(cbc_int, L2C_CBC_INT_W1S);
19271927
1928
-struct debugfs_entry *l2c_cbc_dfs_ents[] = {
1928
+static struct debugfs_entry *l2c_cbc_dfs_ents[] = {
19291929 &debugfs_cbc_int,
19301930 };
19311931
19321932 L2C_DEBUGFS_ATTR(mci_int, L2C_MCI_INT_W1S);
19331933
1934
-struct debugfs_entry *l2c_mci_dfs_ents[] = {
1934
+static struct debugfs_entry *l2c_mci_dfs_ents[] = {
19351935 &debugfs_mci_int,
19361936 };
19371937