diff options
author | Rob Herring <robh@kernel.org> | 2018-01-04 22:12:14 +0100 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2018-01-18 00:54:37 +0100 |
commit | 59f47eff03a08cd2d91310f1c15a5343fa0071e5 (patch) | |
tree | 84327d51aa8069184c16fbc02b436d20d1dff5c6 /drivers/pci/of.c | |
parent | PCI: Move OF-related PCI functions into PCI core (diff) | |
download | linux-59f47eff03a08cd2d91310f1c15a5343fa0071e5.tar.xz linux-59f47eff03a08cd2d91310f1c15a5343fa0071e5.zip |
powerpc/pci: Use of_irq_parse_and_map_pci() helper
Instead of calling both of_irq_parse_pci() and irq_create_of_mapping(),
call of_irq_parse_and_map_pci(), which does the same thing. This will allow
making of_irq_parse_pci() a private, static function.
This changes the logic slightly in that the fallback path will also be
taken if irq_create_of_mapping() fails internally.
Signed-off-by: Rob Herring <robh@kernel.org>
[bhelgaas: fold in virq init from Stephen Rothwell <sfr@canb.auug.org.au>]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'drivers/pci/of.c')
0 files changed, 0 insertions, 0 deletions