From: Andrew Patterson Date: Wed, 23 Jan 2008 00:18:17 +0000 (-0700) Subject: PCI ACPI: AER driver should only register PCIe devices with _OSC X-Git-Tag: v2.6.25-rc1~1074^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d8634ddd371515740110d5658c3465a373894243;p=linux-2.6-omap-h63xx.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/pci/pcie/aer/aerdrv_acpi.c b/drivers/pci/pcie/aer/aerdrv_acpi.c index 1a1eb45a779..f685bf5cdab 100644 --- a/drivers/pci/pcie/aer/aerdrv_acpi.c +++ b/drivers/pci/pcie/aer/aerdrv_acpi.c @@ -50,7 +50,7 @@ int aer_osc_setup(struct pcie_device *pciedev) } if (handle) { - pci_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT); + pcie_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT); status = pci_osc_control_set(handle, OSC_PCI_EXPRESS_AER_CONTROL | OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL);