Skip to content

Commit 716fb31

Browse files
Matthew Minterbjorn-helgaas
authored andcommitted
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>
1 parent 47a650f commit 716fb31

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/of/of_pci_irq.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,8 @@ EXPORT_SYMBOL_GPL(of_irq_parse_pci);
113113
* @pin: PCI irq pin number; passed when used as map_irq callback. Unused
114114
*
115115
* @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
117118
*/
118119
int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin)
119120
{

0 commit comments

Comments
 (0)