summaryrefslogtreecommitdiffstats
path: root/kernel/arch/mips/pci/msi-octeon.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/mips/pci/msi-octeon.c')
-rw-r--r--kernel/arch/mips/pci/msi-octeon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/mips/pci/msi-octeon.c b/kernel/arch/mips/pci/msi-octeon.c
index cffaaf4aa..2a5bb849b 100644
--- a/kernel/arch/mips/pci/msi-octeon.c
+++ b/kernel/arch/mips/pci/msi-octeon.c
@@ -200,7 +200,7 @@ int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type)
if (type == PCI_CAP_ID_MSI && nvec > 1)
return 1;
- list_for_each_entry(entry, &dev->msi_list, list) {
+ for_each_pci_msi_entry(entry, dev) {
ret = arch_setup_msi_irq(dev, entry);
if (ret < 0)
return ret;