PCI ACPI: AER driver should only register PCIe devices with _OSC

AER is only used with PCIe devices so we should only check PCIe devices for
_OSC support.

Signed-off-by: Andrew Patterson <andrew.patterson@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

authored by Andrew Patterson and committed by Greg Kroah-Hartman d8634ddd c2778357

+1 -1
+1 -1
drivers/pci/pcie/aer/aerdrv_acpi.c
··· 50 } 51 52 if (handle) { 53 - pci_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT); 54 status = pci_osc_control_set(handle, 55 OSC_PCI_EXPRESS_AER_CONTROL | 56 OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);
··· 50 } 51 52 if (handle) { 53 + pcie_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT); 54 status = pci_osc_control_set(handle, 55 OSC_PCI_EXPRESS_AER_CONTROL | 56 OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);