aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-pciback/pci_stub.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/xen/xen-pciback/pci_stub.c')
-rw-r--r--drivers/xen/xen-pciback/pci_stub.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c
index 0b5a16b81c8c..e7853c340d7c 100644
--- a/drivers/xen/xen-pciback/pci_stub.c
+++ b/drivers/xen/xen-pciback/pci_stub.c
@@ -13,7 +13,7 @@
13#include <linux/pci.h> 13#include <linux/pci.h>
14#include <linux/wait.h> 14#include <linux/wait.h>
15#include <linux/sched.h> 15#include <linux/sched.h>
16#include <asm/atomic.h> 16#include <linux/atomic.h>
17#include <xen/events.h> 17#include <xen/events.h>
18#include <asm/xen/pci.h> 18#include <asm/xen/pci.h>
19#include <asm/xen/hypervisor.h> 19#include <asm/xen/hypervisor.h>
@@ -486,7 +486,7 @@ static void pcistub_remove(struct pci_dev *dev)
486 } 486 }
487} 487}
488 488
489static const struct pci_device_id pcistub_ids[] = { 489static DEFINE_PCI_DEVICE_TABLE(pcistub_ids) = {
490 { 490 {
491 .vendor = PCI_ANY_ID, 491 .vendor = PCI_ANY_ID,
492 .device = PCI_ANY_ID, 492 .device = PCI_ANY_ID,
@@ -592,7 +592,7 @@ static pci_ers_result_t common_process(struct pcistub_device *psdev,
592 if (test_bit(_XEN_PCIF_active, 592 if (test_bit(_XEN_PCIF_active,
593 (unsigned long *)&psdev->pdev->sh_info->flags)) { 593 (unsigned long *)&psdev->pdev->sh_info->flags)) {
594 dev_dbg(&psdev->dev->dev, 594 dev_dbg(&psdev->dev->dev,
595 "schedule pci_conf service in pciback \n"); 595 "schedule pci_conf service in pciback\n");
596 test_and_schedule_op(psdev->pdev); 596 test_and_schedule_op(psdev->pdev);
597 } 597 }
598 598