From: Matthew Minter Date: Wed, 28 Jun 2017 20:14:03 +0000 (-0500) Subject: OF/PCI: Update of_irq_parse_and_map_pci() comment X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=716fb31148e9ce78f7c96c1f81a32f52140bcd98;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git OF/PCI: Update of_irq_parse_and_map_pci() comment With the introduction of struct pci_host_bridge.(*map_irq) function pointer add another direct usage of of_irq_parse_and_map_pci(). Update the function comment to reflect this behaviour. Signed-off-by: Matthew Minter Signed-off-by: Lorenzo Pieralisi Signed-off-by: Bjorn Helgaas --- diff --git a/drivers/of/of_pci_irq.c b/drivers/of/of_pci_irq.c index c175d9cd0bb5..3a05568f65df 100644 --- a/drivers/of/of_pci_irq.c +++ b/drivers/of/of_pci_irq.c @@ -113,7 +113,8 @@ EXPORT_SYMBOL_GPL(of_irq_parse_pci); * @pin: PCI irq pin number; passed when used as map_irq callback. Unused * * @slot and @pin are unused, but included in the function so that this - * function can be used directly as the map_irq callback to pci_fixup_irqs(). + * function can be used directly as the map_irq callback to + * pci_assign_irq() and struct pci_host_bridge.map_irq pointer */ int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) {