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

orang tua
494530284f
melakukan
3646f0e5c9
@@ -3453,7 +3453,7 @@ static void eeh_resume(struct pci_dev *pdev)
|
||||
rtnl_unlock();
|
||||
}
|
||||
|
||||
static struct pci_error_handlers cxgb4_eeh = {
|
||||
static const struct pci_error_handlers cxgb4_eeh = {
|
||||
.error_detected = eeh_err_detected,
|
||||
.slot_reset = eeh_slot_reset,
|
||||
.resume = eeh_resume,
|
||||
|
Reference in New Issue
Block a user