|
@@ -382,10 +382,10 @@ int pci_cleanup_aer_error_status_regs(struct pci_dev *dev)
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
|
|
|
|
-int pci_aer_init(struct pci_dev *dev)
|
|
|
|
|
|
+void pci_aer_init(struct pci_dev *dev)
|
|
{
|
|
{
|
|
dev->aer_cap = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR);
|
|
dev->aer_cap = pci_find_ext_capability(dev, PCI_EXT_CAP_ID_ERR);
|
|
- return pci_cleanup_aer_error_status_regs(dev);
|
|
|
|
|
|
+ pci_cleanup_aer_error_status_regs(dev);
|
|
}
|
|
}
|
|
|
|
|
|
#define AER_AGENT_RECEIVER 0
|
|
#define AER_AGENT_RECEIVER 0
|