make drivers with pci error handlers const
Covers the rest of the uses of pci error handler. 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
a55b2d21e8
commit
1d3520357d
@@ -54,7 +54,7 @@ static pci_ers_result_t jsm_io_error_detected(struct pci_dev *pdev,
|
||||
static pci_ers_result_t jsm_io_slot_reset(struct pci_dev *pdev);
|
||||
static void jsm_io_resume(struct pci_dev *pdev);
|
||||
|
||||
static struct pci_error_handlers jsm_err_handler = {
|
||||
static const struct pci_error_handlers jsm_err_handler = {
|
||||
.error_detected = jsm_io_error_detected,
|
||||
.slot_reset = jsm_io_slot_reset,
|
||||
.resume = jsm_io_resume,
|
||||
|
Reference in New Issue
Block a user