aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-09-07 12:33:16 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-09-07 18:35:00 -0400
commita55b2d21e81ad318b7c67a2c8530b272f631e35b (patch)
tree3e0a90bddb421317a1337faaeea5fe262da75d5e /drivers/scsi/qla2xxx
parent3646f0e5c97703cecfd96cdabb085e78d9b7f680 (diff)
scsi: make pci error handlers const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r--drivers/scsi/qla2xxx/qla_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c
index fb8cd3847d4b..d3052622e77a 100644
--- a/drivers/scsi/qla2xxx/qla_os.c
+++ b/drivers/scsi/qla2xxx/qla_os.c
@@ -4471,7 +4471,7 @@ qla2xxx_pci_resume(struct pci_dev *pdev)
4471 ha->flags.eeh_busy = 0; 4471 ha->flags.eeh_busy = 0;
4472} 4472}
4473 4473
4474static struct pci_error_handlers qla2xxx_err_handler = { 4474static const struct pci_error_handlers qla2xxx_err_handler = {
4475 .error_detected = qla2xxx_pci_error_detected, 4475 .error_detected = qla2xxx_pci_error_detected,
4476 .mmio_enabled = qla2xxx_pci_mmio_enabled, 4476 .mmio_enabled = qla2xxx_pci_mmio_enabled,
4477 .slot_reset = qla2xxx_pci_slot_reset, 4477 .slot_reset = qla2xxx_pci_slot_reset,