make drivers with pci error handlers const

Covers the rest of the uses of pci error handler.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
This commit is contained in:
Stephen Hemminger 2012-09-07 09:33:17 -07:00 • committed by Bjorn Helgaas
commit 1d3520357d
7 changed files with 7 additions and 7 deletions

View file

@ -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,