Commit 09189bd8 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

PCI Hotplug: acpiphp: stupid typo fixes.

parent a822b57b
...@@ -441,7 +441,7 @@ static int init_slots (void) ...@@ -441,7 +441,7 @@ static int init_slots (void)
slot->number = i; slot->number = i;
slot->hotplug_slot->private = slot; slot->hotplug_slot->private = slot;
slot->hotplug_slot->release = &release_slots; slot->hotplug_slot->release = &release_slot;
slot->hotplug_slot->ops = &acpi_hotplug_slot_ops; slot->hotplug_slot->ops = &acpi_hotplug_slot_ops;
slot->acpi_slot = get_slot_from_id(i); slot->acpi_slot = get_slot_from_id(i);
...@@ -455,7 +455,7 @@ static int init_slots (void) ...@@ -455,7 +455,7 @@ static int init_slots (void)
retval = pci_hp_register(slot->hotplug_slot); retval = pci_hp_register(slot->hotplug_slot);
if (retval) { if (retval) {
err("pci_hp_register failed with error %d\n", retval); err("pci_hp_register failed with error %d\n", retval);
release_slot(); release_slot(slot->hotplug_slot);
return retval; return retval;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment