diff options
author | Andrew Patterson <andrew.patterson@hp.com> | 2008-01-22 19:18:17 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-02-01 18:04:30 -0500 |
commit | d8634ddd371515740110d5658c3465a373894243 (patch) | |
tree | 42e2321d07cefebbf2ff7582572af82415e91081 /drivers/pci/pcie | |
parent | c2778357234f84668eab5558b54ad28478439d0b (diff) |
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>
Diffstat (limited to 'drivers/pci/pcie')
-rw-r--r-- | drivers/pci/pcie/aer/aerdrv_acpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
50 | } | 50 | } |
51 | 51 | ||
52 | if (handle) { | 52 | if (handle) { |
53 | pci_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT); | 53 | pcie_osc_support_set(OSC_EXT_PCI_CONFIG_SUPPORT); |
54 | status = pci_osc_control_set(handle, | 54 | status = pci_osc_control_set(handle, |
55 | OSC_PCI_EXPRESS_AER_CONTROL | | 55 | OSC_PCI_EXPRESS_AER_CONTROL | |
56 | OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL); | 56 | OSC_PCI_EXPRESS_CAP_STRUCTURE_CONTROL); |