diff options
Diffstat (limited to 'drivers/xen/dbgp.c')
-rw-r--r-- | drivers/xen/dbgp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/dbgp.c b/drivers/xen/dbgp.c index f3ccc80a455f..8145a59fd9f6 100644 --- a/drivers/xen/dbgp.c +++ b/drivers/xen/dbgp.c | |||
@@ -19,7 +19,7 @@ static int xen_dbgp_op(struct usb_hcd *hcd, int op) | |||
19 | dbgp.op = op; | 19 | dbgp.op = op; |
20 | 20 | ||
21 | #ifdef CONFIG_PCI | 21 | #ifdef CONFIG_PCI |
22 | if (ctrlr->bus == &pci_bus_type) { | 22 | if (dev_is_pci(ctrlr)) { |
23 | const struct pci_dev *pdev = to_pci_dev(ctrlr); | 23 | const struct pci_dev *pdev = to_pci_dev(ctrlr); |
24 | 24 | ||
25 | dbgp.u.pci.seg = pci_domain_nr(pdev->bus); | 25 | dbgp.u.pci.seg = pci_domain_nr(pdev->bus); |