make drivers with pci error handlers const
Covers the rest of the uses of pci error handler. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:

committed by
Bjorn Helgaas

parent
a55b2d21e8
commit
1d3520357d
@@ -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,
|
||||
|
Reference in New Issue
Block a user