Commit 716fb311 authored by Matthew Minter's avatar Matthew Minter Committed by Bjorn Helgaas

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: default avatarMatthew Minter <matt@masarand.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
parent 47a650f2
...@@ -113,7 +113,8 @@ EXPORT_SYMBOL_GPL(of_irq_parse_pci); ...@@ -113,7 +113,8 @@ EXPORT_SYMBOL_GPL(of_irq_parse_pci);
* @pin: PCI irq pin number; passed when used as map_irq callback. Unused * @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 * @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) int of_irq_parse_and_map_pci(const struct pci_dev *dev, u8 slot, u8 pin)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment