Documentation: PCI: Fix pci_alloc_irq_vectors() function name typo
authorZenghui Yu <yuzenghui@huawei.com>
Mon, 30 Dec 2019 13:14:28 +0000 (21:14 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 30 Dec 2019 14:21:29 +0000 (08:21 -0600)
Documentation/PCI/msi-howto.rst referred to pci_irq_alloc_vectors() when it
should refer to pci_alloc_irq_vectors().  Fix the typo.

Link: https://lore.kernel.org/r/20191230131428.1200-1-yuzenghui@huawei.com
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andrew Murray <andrew.murray@arm.com>
Documentation/PCI/msi-howto.rst

index 994cbb660adef4150c1ef5e8b378ee2c3d280c16..aa2046af69f7d1b2a5e1c4de414be1acd2d41ec0 100644 (file)
@@ -283,5 +283,5 @@ or disabled (0).  If 0 is found in any of the msi_bus files belonging
 to bridges between the PCI root and the device, MSIs are disabled.
 
 It is also worth checking the device driver to see whether it supports MSIs.
-For example, it may contain calls to pci_irq_alloc_vectors() with the
+For example, it may contain calls to pci_alloc_irq_vectors() with the
 PCI_IRQ_MSI or PCI_IRQ_MSIX flags.