vfio-pci: constify pci_error_handlers structures
authorJulia Lawall <Julia.Lawall@lip6.fr>
Sat, 14 Nov 2015 10:07:01 +0000 (11:07 +0100)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 19 Nov 2015 23:53:07 +0000 (16:53 -0700)
commit7d10f4e0797597a31f2724b46e619ee10d8eb501
treeb2e892d4683344b3a4e9a6f2d07779b1b873d987
parent7fe941422339c96072fc1eec4e8b484ccf7ccd0e
vfio-pci: constify pci_error_handlers structures

This pci_error_handlers structure is never modified, like all the other
pci_error_handlers structures, so declare it as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/vfio_pci.c