aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla4xxx
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/qla4xxx
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/qla4xxx')
-rw-r--r--drivers/scsi/qla4xxx/ql4_os.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_os.c b/drivers/scsi/qla4xxx/ql4_os.c
index 9da426628b97..c75ca26298d6 100644
--- a/drivers/scsi/qla4xxx/ql4_os.c
+++ b/drivers/scsi/qla4xxx/ql4_os.c
@@ -6148,7 +6148,7 @@ qla4xxx_pci_resume(struct pci_dev *pdev)
6148 clear_bit(AF_EEH_BUSY, &ha->flags); 6148 clear_bit(AF_EEH_BUSY, &ha->flags);
6149} 6149}
6150 6150
6151static struct pci_error_handlers qla4xxx_err_handler = { 6151static const struct pci_error_handlers qla4xxx_err_handler = {
6152 .error_detected = qla4xxx_pci_error_detected, 6152 .error_detected = qla4xxx_pci_error_detected,
6153 .mmio_enabled = qla4xxx_pci_mmio_enabled, 6153 .mmio_enabled = qla4xxx_pci_mmio_enabled,
6154 .slot_reset = qla4xxx_pci_slot_reset, 6154 .slot_reset = qla4xxx_pci_slot_reset,