PCI/AER: Expose internal API for obtaining AER information
authorKeith Busch <keith.busch@intel.com>
Thu, 19 Jul 2018 21:16:55 +0000 (16:16 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Jul 2018 21:16:55 +0000 (16:16 -0500)
commit1e4511604dfaf6d1642603ff89effb9e93682716
tree818e07661f0c3800ea7c05c1ce30d66bb74559a2
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
PCI/AER: Expose internal API for obtaining AER information

Export some common AER functions and structures for other PCI core drivers
to use.  Since this is making the function externally visible inside the
PCI core, prepend "aer_" to the function name.

Signed-off-by: Keith Busch <keith.busch@intel.com>
[bhelgaas: move AER declarations from linux/aer.h to drivers/pci/pci.h]
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Sinan Kaya <okaya@kernel.org>
Reviewed-by: Oza Pawandeep <poza@codeaurora.org>
drivers/pci/pci.h
drivers/pci/pcie/aer.c