mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
make drivers with pci error handlers const
Covers the rest of the uses of pci error handler. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
This commit is contained in:
parent
a55b2d21e8
commit
1d3520357d
7 changed files with 7 additions and 7 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue