diff mbox series

[RFC,14/23] hw/phb3: Wire up assert_perst

Message ID 20190403090920.362-15-oohall@gmail.com
State RFC
Headers show
Series [RFC,01/23] platform/firenze-pci: Remove freset | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch warning Failed to apply on branch master (050d8165ab05b6d9cdf4bfee42d9776969c77029)
snowpatch_ozlabs/apply_patch fail Failed to apply to any branch

Commit Message

Oliver O'Halloran April 3, 2019, 9:09 a.m. UTC
The pcie-slot specific method is largely pointless now.
---
 hw/phb3.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/hw/phb3.c b/hw/phb3.c
index 095fc3153378..4ac6aa729c4d 100644
--- a/hw/phb3.c
+++ b/hw/phb3.c
@@ -2742,6 +2742,7 @@  static struct pci_slot *phb3_slot_create(struct phb *phb)
 	slot->ops.get_latch_state     = NULL;
 	slot->ops.set_power_state     = NULL;
 	slot->ops.set_attention_state = NULL;
+	slot->ops.assert_perst        = phb3_assert_perst;
 
 	/*
 	 * For PHB slots, we have to split the fundamental reset