netdev: 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:
Stephen Hemminger
2012-09-07 09:33:15 -07:00
committed by Bjorn Helgaas
parent 494530284f
commit 3646f0e5c9
23 changed files with 23 additions and 23 deletions

View File

@@ -6472,7 +6472,7 @@ static void __devexit e1000_remove(struct pci_dev *pdev)
}
/* PCI Error Recovery (ERS) */
static struct pci_error_handlers e1000_err_handler = {
static const struct pci_error_handlers e1000_err_handler = {
.error_detected = e1000_io_error_detected,
.slot_reset = e1000_io_slot_reset,
.resume = e1000_io_resume,