diff --git a/drivers/pci/msi.c b/drivers/pci/msi.c index 40699a2041b5876c0fee4a091a59965f194a91a5..6413c5a08373fdfad23cb8bbd9758c08448b534b 100644 --- a/drivers/pci/msi.c +++ b/drivers/pci/msi.c @@ -120,7 +120,7 @@ static void default_restore_msi_irq(struct pci_dev *dev, int irq) } if (entry) - write_msi_msg(irq, &entry->msg); + __write_msi_msg(entry, &entry->msg); } void __weak arch_restore_msi_irqs(struct pci_dev *dev)