aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/acpiphp_glue.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/acpiphp_glue.c')
-rw-r--r--drivers/pci/hotplug/acpiphp_glue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/acpiphp_glue.c b/drivers/pci/hotplug/acpiphp_glue.c
index fce1c54a0c8d..ba43c037de80 100644
--- a/drivers/pci/hotplug/acpiphp_glue.c
+++ b/drivers/pci/hotplug/acpiphp_glue.c
@@ -467,7 +467,7 @@ static int add_bridge(acpi_handle handle)
467 * granted by the BIOS for it. 467 * granted by the BIOS for it.
468 */ 468 */
469 root = acpi_pci_find_root(handle); 469 root = acpi_pci_find_root(handle);
470 if (root && (root->osc_control_set & OSC_PCI_EXPRESS_NATIVE_HP_CONTROL)) 470 if (root && (root->osc_control_set & OSC_PCI_NATIVE_HOTPLUG))
471 return -ENODEV; 471 return -ENODEV;
472 472
473 /* if the bridge doesn't have _STA, we assume it is always there */ 473 /* if the bridge doesn't have _STA, we assume it is always there */
@@ -1395,7 +1395,7 @@ find_root_bridges(acpi_handle handle, u32 lvl, void *context, void **rv)
1395 if (!root) 1395 if (!root)
1396 return AE_OK; 1396 return AE_OK;
1397 1397
1398 if (root->osc_control_set & OSC_PCI_EXPRESS_NATIVE_HP_CONTROL) 1398 if (root->osc_control_set & OSC_PCI_NATIVE_HOTPLUG)
1399 return AE_OK; 1399 return AE_OK;
1400 1400
1401 (*count)++; 1401 (*count)++;