|
@@ -564,7 +564,7 @@ static int __devinit acpi_pci_root_add(struct acpi_device *device)
|
|
acpi_pci_bridge_scan(child);
|
|
acpi_pci_bridge_scan(child);
|
|
|
|
|
|
/* Indicate support for various _OSC capabilities. */
|
|
/* Indicate support for various _OSC capabilities. */
|
|
- if (pci_ext_cfg_avail(root->bus->self))
|
|
|
|
|
|
+ if (pci_ext_cfg_avail())
|
|
flags |= OSC_EXT_PCI_CONFIG_SUPPORT;
|
|
flags |= OSC_EXT_PCI_CONFIG_SUPPORT;
|
|
if (pcie_aspm_support_enabled())
|
|
if (pcie_aspm_support_enabled())
|
|
flags |= OSC_ACTIVE_STATE_PWR_SUPPORT |
|
|
flags |= OSC_ACTIVE_STATE_PWR_SUPPORT |
|