diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-05 11:28:43 -0500 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-05 11:28:43 -0500 |
commit | 4917f7189bd8be326d0910055b029d3cbf50256c (patch) | |
tree | 6eb3f09e45c5ed9eb3979cd8fe63a8d262d949e5 /drivers/pci/pci-driver.c | |
parent | d03c426f7a739d017623d49ade2d3ce4dc766e2a (diff) | |
parent | f9a6c8ad4922bf386c366e5ece453d459e628784 (diff) | |
download | linux-4917f7189bd8be326d0910055b029d3cbf50256c.tar.gz linux-4917f7189bd8be326d0910055b029d3cbf50256c.tar.bz2 linux-4917f7189bd8be326d0910055b029d3cbf50256c.zip |
Merge branch 'pci/hotplug'
- Ignore Link Down/Up caused by error-induced Hot Reset so endpoint driver
can remain bound to device during error recovery (Lukas Wunner)
- Remove unused resume err_handler (Lukas Wunner)
- Remove unused pcie_port_bus_{,un}register() declarations (Lukas Wunner)
- Skip compiling err.c when CONFIG_PCIEAER not set (Lukas Wunner)
* pci/hotplug:
PCI/ERR: Reduce compile time for CONFIG_PCIEAER=n
PCI/portdrv: Remove unused pcie_port_bus_{,un}register() declarations
PCI/portdrv: Remove unused resume err_handler
PCI: pciehp: Ignore Link Down/Up caused by error-induced Hot Reset
PCI/portdrv: Rename pm_iter() to pcie_port_device_iter()
Diffstat (limited to 'drivers/pci/pci-driver.c')
-rw-r--r-- | drivers/pci/pci-driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index 3da121cb8cbf..7fddd1eb480c 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c @@ -1537,7 +1537,7 @@ static int pci_uevent(struct device *dev, struct kobj_uevent_env *env) return 0; } -#if defined(CONFIG_PCIEPORTBUS) || defined(CONFIG_EEH) +#if defined(CONFIG_PCIEAER) || defined(CONFIG_EEH) /** * pci_uevent_ers - emit a uevent during recovery path of PCI device * @pdev: PCI device undergoing error recovery |