diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-09-07 18:33:17 +0200 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-08 00:35:00 +0200 |
commit | 1d3520357df99baf4ad89f86268ac96cd38092d9 (patch) | |
tree | 33edbde95dc8970166244b4d669ee0b6570b3842 /drivers/block/nvme.c | |
parent | scsi: make pci error handlers const (diff) | |
download | linux-1d3520357df99baf4ad89f86268ac96cd38092d9.tar.xz linux-1d3520357df99baf4ad89f86268ac96cd38092d9.zip |
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/nvme.c')
-rw-r--r-- | drivers/block/nvme.c | 2 |
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) #define nvme_suspend NULL #define nvme_resume NULL -static struct pci_error_handlers nvme_err_handler = { +static const struct pci_error_handlers nvme_err_handler = { .error_detected = nvme_error_detected, .mmio_enabled = nvme_dump_registers, .link_reset = nvme_link_reset, |