scsi: make pci error handlers const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:

committed by
Bjorn Helgaas

parent
3646f0e5c9
commit
a55b2d21e8
@@ -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,
|
||||
|
Reference in New Issue
Block a user