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 {
2222 char * str ;
2323};
2424
25- static struct pcie_cap_id_to_str pcie_cap_list [] = {
25+ static const struct pcie_cap_id_to_str pcie_cap_list [] = {
2626 { PCI_CAP_ID_PM , "Power Management" },
2727 { PCI_CAP_ID_AGP , "Accelerated Graphics Port" },
2828 { PCI_CAP_ID_VPD , "Vital Product Data" },
@@ -47,7 +47,7 @@ static struct pcie_cap_id_to_str pcie_cap_list[] = {
4747 { PCI_CAP_ID_NULL , NULL },
4848};
4949
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 [] = {
5151 { PCIE_EXT_CAP_ID_ERR , "Advanced Error Reporting" },
5252 { PCIE_EXT_CAP_ID_VC , "Virtual Channel when no MFVC" },
5353 { PCIE_EXT_CAP_ID_DSN , "Device Serial Number" },
You can’t perform that action at this time.
0 commit comments