File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ struct pcie_cap_id_to_str {
22
22
char * str ;
23
23
};
24
24
25
- static struct pcie_cap_id_to_str pcie_cap_list [] = {
25
+ static const struct pcie_cap_id_to_str pcie_cap_list [] = {
26
26
{ PCI_CAP_ID_PM , "Power Management" },
27
27
{ PCI_CAP_ID_AGP , "Accelerated Graphics Port" },
28
28
{ PCI_CAP_ID_VPD , "Vital Product Data" },
@@ -47,7 +47,7 @@ static struct pcie_cap_id_to_str pcie_cap_list[] = {
47
47
{ PCI_CAP_ID_NULL , NULL },
48
48
};
49
49
50
- static struct pcie_cap_id_to_str pcie_ext_cap_list [] = {
50
+ static const struct pcie_cap_id_to_str pcie_ext_cap_list [] = {
51
51
{ PCIE_EXT_CAP_ID_ERR , "Advanced Error Reporting" },
52
52
{ PCIE_EXT_CAP_ID_VC , "Virtual Channel when no MFVC" },
53
53
{ PCIE_EXT_CAP_ID_DSN , "Device Serial Number" },
You can’t perform that action at this time.
0 commit comments