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:
committed by
Bjorn Helgaas
parent
494530284f
commit
3646f0e5c9
@@ -16397,7 +16397,7 @@ done:
|
||||
rtnl_unlock();
|
||||
}
|
||||
|
||||
static struct pci_error_handlers tg3_err_handler = {
|
||||
static const struct pci_error_handlers tg3_err_handler = {
|
||||
.error_detected = tg3_io_error_detected,
|
||||
.slot_reset = tg3_io_slot_reset,
|
||||
.resume = tg3_io_resume
|
||||
|
||||
Reference in New Issue
Block a user