Fix common misspellings
[linux-block.git] / drivers / pci / hotplug / acpiphp_glue.c
index cb23aa2ebf96b1c768b6c2edae033984c2959fac..2f67e9bc2f9650ee9ed1e1fdbd74e137613fa404 100644 (file)
@@ -212,6 +212,7 @@ register_slot(acpi_handle handle, u32 lvl, void *context, void **rv)
 
        pdev = pci_get_slot(pbus, PCI_DEVFN(device, function));
        if (pdev) {
+               pdev->current_state = PCI_D0;
                slot->flags |= (SLOT_ENABLED | SLOT_POWEREDON);
                pci_dev_put(pdev);
        }
@@ -584,7 +585,7 @@ static void remove_bridge(acpi_handle handle)
 
        /*
         * On root bridges with hotplug slots directly underneath (ie,
-        * no p2p bridge inbetween), we call cleanup_bridge(). 
+        * no p2p bridge between), we call cleanup_bridge(). 
         *
         * The else clause cleans up root bridges that either had no
         * hotplug slots at all, or had a p2p bridge underneath.