]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit652a5c4b4c3ac7bee18607fe79562ec542917a03
tree818e07661f0c3800ea7c05c1ce30d66bb74559a2
parent0d5624e606504772b89d3c3d6b1be740ef176c61
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