PCI/AER: Move pcie_aer_get_firmware_first() to portdrv.h
authorBjorn Helgaas <bhelgaas@google.com>
Fri, 8 Jun 2018 13:40:16 +0000 (08:40 -0500)
committerBjorn Helgaas <helgaas@kernel.org>
Mon, 11 Jun 2018 13:11:11 +0000 (08:11 -0500)
commit0544b04b792696d6e408f3a882d1a36943084fa8
tree07867b29ecbba2294041d954f770eee41908c315
parent16c33b1595441fe106f8efd370fb584ed8d21bde
PCI/AER: Move pcie_aer_get_firmware_first() to portdrv.h

Move pcie_aer_get_firmware_first() to portdrv.h, where it can be more
easily shared between AER and DPC.  Then DPC no longer needs to include
aer/aerdrv.h.  No functional change intended.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Keith Busch <keith.busch@intel.com>
drivers/pci/pcie/aer/aerdrv.h
drivers/pci/pcie/dpc.c
drivers/pci/pcie/portdrv.h