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/ipr.c | |
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/ipr.c')
-rw-r--r-- | drivers/scsi/ipr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/ipr.c b/drivers/scsi/ipr.c index 467dc38246f9..b91fa7aed37c 100644 --- a/drivers/scsi/ipr.c +++ b/drivers/scsi/ipr.c | |||
@@ -9228,7 +9228,7 @@ static struct pci_device_id ipr_pci_table[] __devinitdata = { | |||
9228 | }; | 9228 | }; |
9229 | MODULE_DEVICE_TABLE(pci, ipr_pci_table); | 9229 | MODULE_DEVICE_TABLE(pci, ipr_pci_table); |
9230 | 9230 | ||
9231 | static struct pci_error_handlers ipr_err_handler = { | 9231 | static const struct pci_error_handlers ipr_err_handler = { |
9232 | .error_detected = ipr_pci_error_detected, | 9232 | .error_detected = ipr_pci_error_detected, |
9233 | .slot_reset = ipr_pci_slot_reset, | 9233 | .slot_reset = ipr_pci_slot_reset, |
9234 | }; | 9234 | }; |