File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ int pcie_aer_is_native(struct pci_dev *dev)
230
230
return pcie_ports_native || host -> native_aer ;
231
231
}
232
232
233
- int pci_enable_pcie_error_reporting (struct pci_dev * dev )
233
+ static int pci_enable_pcie_error_reporting (struct pci_dev * dev )
234
234
{
235
235
int rc ;
236
236
@@ -240,7 +240,6 @@ int pci_enable_pcie_error_reporting(struct pci_dev *dev)
240
240
rc = pcie_capability_set_word (dev , PCI_EXP_DEVCTL , PCI_EXP_AER_FLAGS );
241
241
return pcibios_err_to_errno (rc );
242
242
}
243
- EXPORT_SYMBOL_GPL (pci_enable_pcie_error_reporting );
244
243
245
244
int pci_aer_clear_nonfatal_status (struct pci_dev * dev )
246
245
{
Original file line number Diff line number Diff line change @@ -41,14 +41,8 @@ struct aer_capability_regs {
41
41
};
42
42
43
43
#if defined(CONFIG_PCIEAER )
44
- /* PCIe port driver needs this function to enable AER */
45
- int pci_enable_pcie_error_reporting (struct pci_dev * dev );
46
44
int pci_aer_clear_nonfatal_status (struct pci_dev * dev );
47
45
#else
48
- static inline int pci_enable_pcie_error_reporting (struct pci_dev * dev )
49
- {
50
- return - EINVAL ;
51
- }
52
46
static inline int pci_aer_clear_nonfatal_status (struct pci_dev * dev )
53
47
{
54
48
return - EINVAL ;
You can’t perform that action at this time.
0 commit comments