diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-09-07 12:33:16 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-07 18:35:00 -0400 |
commit | a55b2d21e81ad318b7c67a2c8530b272f631e35b (patch) | |
tree | 3e0a90bddb421317a1337faaeea5fe262da75d5e /drivers/scsi/sym53c8xx_2 | |
parent | 3646f0e5c97703cecfd96cdabb085e78d9b7f680 (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/sym53c8xx_2')
-rw-r--r-- | drivers/scsi/sym53c8xx_2/sym_glue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index 36d1ed7817eb..e2b8e68b57e7 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -2117,7 +2117,7 @@ static struct pci_device_id sym2_id_table[] __devinitdata = { | |||
2117 | 2117 | ||
2118 | MODULE_DEVICE_TABLE(pci, sym2_id_table); | 2118 | MODULE_DEVICE_TABLE(pci, sym2_id_table); |
2119 | 2119 | ||
2120 | static struct pci_error_handlers sym2_err_handler = { | 2120 | static const struct pci_error_handlers sym2_err_handler = { |
2121 | .error_detected = sym2_io_error_detected, | 2121 | .error_detected = sym2_io_error_detected, |
2122 | .mmio_enabled = sym2_io_slot_dump, | 2122 | .mmio_enabled = sym2_io_slot_dump, |
2123 | .slot_reset = sym2_io_slot_reset, | 2123 | .slot_reset = sym2_io_slot_reset, |