aboutsummaryrefslogtreecommitdiff
path: root/core/pci-slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/pci-slot.c')
-rw-r--r--core/pci-slot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pci-slot.c b/core/pci-slot.c
index 6d3ed6c..8bddc14 100644
--- a/core/pci-slot.c
+++ b/core/pci-slot.c
@@ -178,6 +178,7 @@ struct pci_slot *pci_slot_alloc(struct phb *phb,
slot->power_state = PCI_SLOT_POWER_ON;
slot->ops.run_sm = pci_slot_run_sm;
slot->ops.prepare_link_change = pci_slot_prepare_link_change;
+ slot->peer_slot = NULL;
if (!pd) {
slot->id = PCI_PHB_SLOT_ID(phb);
phb->slot = slot;