]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/pci/hotplug/fakephp.c
Merge branch 'fix/hda' into for-linus
[linux-2.6-omap-h63xx.git] / drivers / pci / hotplug / fakephp.c
index 3a2637a00934014fbf96b3988815b16ac3621f41..b0e7de9e536d385e7e0d06dd0262f88537b06004 100644 (file)
@@ -324,6 +324,7 @@ static int disable_slot(struct hotplug_slot *slot)
 
                if (test_and_set_bit(0, &dslot->removed)) {
                        dbg("Slot already scheduled for removal\n");
+                       pci_dev_put(dev);
                        return -ENODEV;
                }