summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-09-07 09:33:16 -0700
committerBjorn Helgaas <bhelgaas@google.com>2012-09-07 16:35:00 -0600
commita55b2d21e81ad318b7c67a2c8530b272f631e35b (patch)
tree3e0a90bddb421317a1337faaeea5fe262da75d5e /drivers/scsi/mpt2sas
parent3646f0e5c97703cecfd96cdabb085e78d9b7f680 (diff)
downloadop-kernel-dev-a55b2d21e81ad318b7c67a2c8530b272f631e35b.zip
op-kernel-dev-a55b2d21e81ad318b7c67a2c8530b272f631e35b.tar.gz
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/mpt2sas')
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_scsih.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index b1ebd6f..1ccae45 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -8306,7 +8306,7 @@ _scsih_pci_mmio_enabled(struct pci_dev *pdev)
return PCI_ERS_RESULT_NEED_RESET;
}
-static struct pci_error_handlers _scsih_err_handler = {
+static const struct pci_error_handlers _scsih_err_handler = {
.error_detected = _scsih_pci_error_detected,
.mmio_enabled = _scsih_pci_mmio_enabled,
.slot_reset = _scsih_pci_slot_reset,
OpenPOWER on IntegriCloud