summaryrefslogtreecommitdiff
path: root/drivers/xen/xen-pciback/pci_stub.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2012-09-12 19:54:10 (GMT)
committerBjorn Helgaas <bhelgaas@google.com>2012-09-12 19:54:10 (GMT)
commit1959ec5f82acbdf91425b41600f119ebecb5f6a8 (patch)
treeb54bc758f10632e991a3a80a94b05f3940b6651c /drivers/xen/xen-pciback/pci_stub.c
parenta63ab613ff48c593f4e9ace2d111978e35a202e4 (diff)
parent1d3520357df99baf4ad89f86268ac96cd38092d9 (diff)
downloadlinux-fsl-qoriq-1959ec5f82acbdf91425b41600f119ebecb5f6a8.tar.xz
Merge branch 'pci/stephen-const' into next
* pci/stephen-const: make drivers with pci error handlers const scsi: make pci error handlers const netdev: make pci_error_handlers const PCI: Make pci_error_handlers const
Diffstat (limited to 'drivers/xen/xen-pciback/pci_stub.c')
-rw-r--r--drivers/xen/xen-pciback/pci_stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c
index 097e536..0f1539e 100644
--- a/drivers/xen/xen-pciback/pci_stub.c
+++ b/drivers/xen/xen-pciback/pci_stub.c
@@ -871,7 +871,7 @@ end:
}
/*add xen_pcibk AER handling*/
-static struct pci_error_handlers xen_pcibk_error_handler = {
+static const struct pci_error_handlers xen_pcibk_error_handler = {
.error_detected = xen_pcibk_error_detected,
.mmio_enabled = xen_pcibk_mmio_enabled,
.slot_reset = xen_pcibk_slot_reset,