diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2012-09-07 09:33:17 -0700 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2012-09-07 16:35:00 -0600 |
commit | 1d3520357df99baf4ad89f86268ac96cd38092d9 (patch) | |
tree | 33edbde95dc8970166244b4d669ee0b6570b3842 /drivers/media | |
parent | a55b2d21e81ad318b7c67a2c8530b272f631e35b (diff) | |
download | linux-1d3520357df99baf4ad89f86268ac96cd38092d9.tar.bz2 |
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.c | 2 |
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, |