summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2012-09-07 20:33:17 +0400
committerBjorn Helgaas <bhelgaas@google.com>2012-09-08 02:35:00 +0400
commit1d3520357df99baf4ad89f86268ac96cd38092d9 (patch)
tree33edbde95dc8970166244b4d669ee0b6570b3842 /drivers/media
parenta55b2d21e81ad318b7c67a2c8530b272f631e35b (diff)
downloadlinux-1d3520357df99baf4ad89f86268ac96cd38092d9.tar.xz
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/media')
-rw-r--r--drivers/media/dvb/ngene/ngene-cards.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ngene/ngene-cards.c b/drivers/media/dvb/ngene/ngene-cards.c
index 72ee8de02260..0a497be97af8 100644
--- a/drivers/media/dvb/ngene/ngene-cards.c
+++ b/drivers/media/dvb/ngene/ngene-cards.c
@@ -524,7 +524,7 @@ static void ngene_resume(struct pci_dev *dev)
printk(KERN_INFO DEVICE_NAME ": resume\n");
}
-static struct pci_error_handlers ngene_errors = {
+static const struct pci_error_handlers ngene_errors = {
.error_detected = ngene_error_detected,
.link_reset = ngene_link_reset,
.slot_reset = ngene_slot_reset,