diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-09-07 09:33:17 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-07 16:35:00 -0600 |
commit | 1d3520357df99baf4ad89f86268ac96cd38092d9 (patch) | |
tree | 33edbde95dc8970166244b4d669ee0b6570b3842 /drivers/infiniband/hw/qib/qib_pcie.c | |
parent | a55b2d21e81ad318b7c67a2c8530b272f631e35b (diff) |
make drivers with pci error handlers const
Covers the rest of the uses of pci error handler.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'drivers/infiniband/hw/qib/qib_pcie.c')
-rw-r--r-- | drivers/infiniband/hw/qib/qib_pcie.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/qib/qib_pcie.c b/drivers/infiniband/hw/qib/qib_pcie.c index 062c301ebf5..8fd03a8c735 100644 --- a/drivers/infiniband/hw/qib/qib_pcie.c +++ b/drivers/infiniband/hw/qib/qib_pcie.c @@ -753,7 +753,7 @@ qib_pci_resume(struct pci_dev *pdev) qib_init(dd, 1); /* same as re-init after reset */ } -struct pci_error_handlers qib_pci_err_handler = { +const struct pci_error_handlers qib_pci_err_handler = { .error_detected = qib_pci_error_detected, .mmio_enabled = qib_pci_mmio_enabled, .link_reset = qib_pci_link_reset, |