aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Minter <matt@masarand.com>2017-06-28 16:14:03 -0400
committerBjorn Helgaas <bhelgaas@google.com>2017-07-02 17:14:28 -0400
commit716fb31148e9ce78f7c96c1f81a32f52140bcd98 (patch)
tree553dacec33599fa1044ca4f8ea673b0242255827
parent47a650f2795b00297a5a3eab7aaa46bdb2bbe304 (diff)
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 <matt@masarand.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
-rw-r--r--drivers/of/of_pci_irq.c3
1 files changed, 2 insertions, 1 deletions
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);
113 * @pin: PCI irq pin number; passed when used as map_irq callback. Unused 113 * @pin: PCI irq pin number; passed when used as map_irq callback. Unused
114 * 114 *
115 * @slot and @pin are unused, but included in the function so that this 115 * @slot and @pin are unused, but included in the function so that this
116 * function can be used directly as the map_irq callback to pci_fixup_irqs(). 116 * function can be used directly as the map_irq callback to
117 * pci_assign_irq() and struct pci_host_bridge.map_irq pointer
117 */ 118 */
118int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin) 119int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin)
119{ 120{