static void rp_aer_vector_update(PCIDevice *d) { PCIERootPortClass *rpc = PCIE_ROOT_PORT_GET_CLASS(d); if (rpc->aer_vector) { pcie_aer_root_set_vector(d, rpc->aer_vector(d)); } }
static void ioh3420_aer_vector_update(PCIDevice *d) { pcie_aer_root_set_vector(d, ioh3420_aer_vector(d)); }