diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-09-07 12:33:15 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-07 18:35:00 -0400 |
commit | 3646f0e5c97703cecfd96cdabb085e78d9b7f680 (patch) | |
tree | 93a7673401fcb092f0fd0d6e65a7572f2a4b60c2 /drivers/net/ethernet/qlogic/qlge | |
parent | 494530284f16298050ab99f54b7b12dd7d1418a1 (diff) |
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/qlogic/qlge')
-rw-r--r-- | drivers/net/ethernet/qlogic/qlge/qlge_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qlge/qlge_main.c b/drivers/net/ethernet/qlogic/qlge/qlge_main.c index b53a3b60b648..b262d6156816 100644 --- a/drivers/net/ethernet/qlogic/qlge/qlge_main.c +++ b/drivers/net/ethernet/qlogic/qlge/qlge_main.c | |||
@@ -4847,7 +4847,7 @@ static void qlge_io_resume(struct pci_dev *pdev) | |||
4847 | netif_device_attach(ndev); | 4847 | netif_device_attach(ndev); |
4848 | } | 4848 | } |
4849 | 4849 | ||
4850 | static struct pci_error_handlers qlge_err_handler = { | 4850 | static const struct pci_error_handlers qlge_err_handler = { |
4851 | .error_detected = qlge_io_error_detected, | 4851 | .error_detected = qlge_io_error_detected, |
4852 | .slot_reset = qlge_io_slot_reset, | 4852 | .slot_reset = qlge_io_slot_reset, |
4853 | .resume = qlge_io_resume, | 4853 | .resume = qlge_io_resume, |