aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/pci/quirks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/quirks.c b/drivers/pci/quirks.c
index 5c449fc4db19..c74694345b6e 100644
--- a/drivers/pci/quirks.c
+++ b/drivers/pci/quirks.c
@@ -2694,7 +2694,7 @@ static const struct pci_dev_reset_methods pci_dev_reset_methods[] = {
2694 2694
2695int pci_dev_specific_reset(struct pci_dev *dev, int probe) 2695int pci_dev_specific_reset(struct pci_dev *dev, int probe)
2696{ 2696{
2697 struct pci_dev_reset_methods *i; 2697 const struct pci_dev_reset_methods *i;
2698 2698
2699 for (i = pci_dev_reset_methods; i->reset; i++) { 2699 for (i = pci_dev_reset_methods; i->reset; i++) {
2700 if ((i->vendor == dev->vendor || 2700 if ((i->vendor == dev->vendor ||