aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-09-07 12:33:17 -0400
committerBjorn Helgaas <bhelgaas@google.com>2012-09-07 18:35:00 -0400
commit1d3520357df99baf4ad89f86268ac96cd38092d9 (patch)
tree33edbde95dc8970166244b4d669ee0b6570b3842 /drivers/block
parenta55b2d21e81ad318b7c67a2c8530b272f631e35b (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/block')
-rw-r--r--drivers/block/nvme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c
index 38a2d0631882..c95ca0f8ff84 100644
--- a/drivers/block/nvme.c
+++ b/drivers/block/nvme.c
@@ -1675,7 +1675,7 @@ static void __devexit nvme_remove(struct pci_dev *pdev)
1675#define nvme_suspend NULL 1675#define nvme_suspend NULL
1676#define nvme_resume NULL 1676#define nvme_resume NULL
1677 1677
1678static struct pci_error_handlers nvme_err_handler = { 1678static const struct pci_error_handlers nvme_err_handler = {
1679 .error_detected = nvme_error_detected, 1679 .error_detected = nvme_error_detected,
1680 .mmio_enabled = nvme_dump_registers, 1680 .mmio_enabled = nvme_dump_registers,
1681 .link_reset = nvme_link_reset, 1681 .link_reset = nvme_link_reset,