diff options
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/hotplug/pciehp_hpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/pci/hotplug/pciehp_hpc.c b/drivers/pci/hotplug/pciehp_hpc.c index 4c74d536d45c..4b921226f888 100644 --- a/drivers/pci/hotplug/pciehp_hpc.c +++ b/drivers/pci/hotplug/pciehp_hpc.c | |||
@@ -1147,11 +1147,11 @@ struct controller *pcie_init(struct pcie_device *dev) | |||
1147 | if (!ctrl->cap_base) { | 1147 | if (!ctrl->cap_base) { |
1148 | ctrl_err(ctrl, "%s: Cannot find PCI Express capability\n", | 1148 | ctrl_err(ctrl, "%s: Cannot find PCI Express capability\n", |
1149 | __func__); | 1149 | __func__); |
1150 | goto abort; | 1150 | goto abort_ctrl; |
1151 | } | 1151 | } |
1152 | if (pciehp_readl(ctrl, SLOTCAP, &slot_cap)) { | 1152 | if (pciehp_readl(ctrl, SLOTCAP, &slot_cap)) { |
1153 | ctrl_err(ctrl, "%s: Cannot read SLOTCAP register\n", __func__); | 1153 | ctrl_err(ctrl, "%s: Cannot read SLOTCAP register\n", __func__); |
1154 | goto abort; | 1154 | goto abort_ctrl; |
1155 | } | 1155 | } |
1156 | 1156 | ||
1157 | ctrl->slot_cap = slot_cap; | 1157 | ctrl->slot_cap = slot_cap; |