diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-09-07 09:33:15 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-07 16:35:00 -0600 |
commit | 3646f0e5c97703cecfd96cdabb085e78d9b7f680 (patch) | |
tree | 93a7673401fcb092f0fd0d6e65a7572f2a4b60c2 /drivers/net/ethernet/emulex | |
parent | 494530284f16298050ab99f54b7b12dd7d1418a1 (diff) | |
download | linux-3646f0e5c97703cecfd96cdabb085e78d9b7f680.tar.bz2 |
netdev: make pci_error_handlers const
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/net/ethernet/emulex')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_main.c b/drivers/net/ethernet/emulex/benet/be_main.c index c60de89b6669..a00295528281 100644 --- a/drivers/net/ethernet/emulex/benet/be_main.c +++ b/drivers/net/ethernet/emulex/benet/be_main.c @@ -4104,7 +4104,7 @@ err: dev_err(&adapter->pdev->dev, "EEH resume failed\n"); } -static struct pci_error_handlers be_eeh_handlers = { +static const struct pci_error_handlers be_eeh_handlers = { .error_detected = be_eeh_err_detected, .slot_reset = be_eeh_reset, .resume = be_eeh_resume, |