]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
qlcnic: make pci_error_handlers const
authorStephen Hemminger <shemminger@vyatta.com>
Wed, 30 Jan 2013 12:47:18 +0000 (12:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 01:34:50 +0000 (20:34 -0500)
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c

index 987c46da997c1ae89687d81741fcd6fe6ff95065..f3deef05041f2c5da918f30c9b14e70ebc1cdd1c 100644 (file)
@@ -3395,7 +3395,7 @@ static struct notifier_block qlcnic_inetaddr_cb = {
 void qlcnic_restore_indev_addr(struct net_device *dev, unsigned long event)
 { }
 #endif
-static struct pci_error_handlers qlcnic_err_handler = {
+static const struct pci_error_handlers qlcnic_err_handler = {
        .error_detected = qlcnic_io_error_detected,
        .slot_reset = qlcnic_io_slot_reset,
        .resume = qlcnic_io_resume,