aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/xen/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/xen/pci.c b/drivers/xen/pci.c
index cef4bafc07dc..c4448ee5595f 100644
--- a/drivers/xen/pci.c
+++ b/drivers/xen/pci.c
@@ -36,7 +36,7 @@ static int xen_add_device(struct device *dev)
36 struct physdev_manage_pci_ext manage_pci_ext = { 36 struct physdev_manage_pci_ext manage_pci_ext = {
37 .bus = pci_dev->bus->number, 37 .bus = pci_dev->bus->number,
38 .devfn = pci_dev->devfn, 38 .devfn = pci_dev->devfn,
39 .is_virtfn = 1, 39 .is_virtfn = 1,
40 .physfn.bus = pci_dev->physfn->bus->number, 40 .physfn.bus = pci_dev->physfn->bus->number,
41 .physfn.devfn = pci_dev->physfn->devfn, 41 .physfn.devfn = pci_dev->physfn->devfn,
42 }; 42 };
@@ -56,7 +56,7 @@ static int xen_add_device(struct device *dev)
56 &manage_pci_ext); 56 &manage_pci_ext);
57 } else { 57 } else {
58 struct physdev_manage_pci manage_pci = { 58 struct physdev_manage_pci manage_pci = {
59 .bus = pci_dev->bus->number, 59 .bus = pci_dev->bus->number,
60 .devfn = pci_dev->devfn, 60 .devfn = pci_dev->devfn,
61 }; 61 };
62 62