]> 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)
commiteb40f776e4f4a2b3232e95acd5e2602fb5eb8054
tree818e07661f0c3800ea7c05c1ce30d66bb74559a2
parent2358d48a6db92cb022eb848a0943363a742d51a5
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