aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pciehp_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/pci/hotplug/pciehp_core.c')
-rw-r--r--drivers/pci/hotplug/pciehp_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/pci/hotplug/pciehp_core.c b/drivers/pci/hotplug/pciehp_core.c
index 209dd9de9a2..f82dc036ab3 100644
--- a/drivers/pci/hotplug/pciehp_core.c
+++ b/drivers/pci/hotplug/pciehp_core.c
@@ -124,10 +124,10 @@ static int init_slot(struct controller *ctrl)
124 snprintf(name, SLOT_NAME_SIZE, "%u", slot->number); 124 snprintf(name, SLOT_NAME_SIZE, "%u", slot->number);
125 125
126 ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:00 sun=%x\n", 126 ctrl_dbg(ctrl, "Registering domain:bus:dev=%04x:%02x:00 sun=%x\n",
127 pci_domain_nr(ctrl->pci_dev->subordinate), 127 pci_domain_nr(ctrl->pcie->port->subordinate),
128 ctrl->pci_dev->subordinate->number, slot->number); 128 ctrl->pcie->port->subordinate->number, slot->number);
129 retval = pci_hp_register(hotplug, 129 retval = pci_hp_register(hotplug,
130 ctrl->pci_dev->subordinate, 0, name); 130 ctrl->pcie->port->subordinate, 0, name);
131 if (retval) { 131 if (retval) {
132 ctrl_err(ctrl, 132 ctrl_err(ctrl,
133 "pci_hp_register failed with error %d\n", retval); 133 "pci_hp_register failed with error %d\n", retval);