--- zzzz-none-000/linux-3.10.107/drivers/xen/dbgp.c 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/drivers/xen/dbgp.c 2021-02-04 17:41:59.000000000 +0000 @@ -19,7 +19,7 @@ dbgp.op = op; #ifdef CONFIG_PCI - if (ctrlr->bus == &pci_bus_type) { + if (dev_is_pci(ctrlr)) { const struct pci_dev *pdev = to_pci_dev(ctrlr); dbgp.u.pci.seg = pci_domain_nr(pdev->bus);