]> git.baikalelectronics.ru Git - kernel.git/commit
PCI/AER: Move internal declarations to drivers/pci/pci.h
authorRajat Jain <rajatja@google.com>
Thu, 21 Jun 2018 23:48:26 +0000 (16:48 -0700)
committerBjorn Helgaas <bhelgaas@google.com>
Thu, 19 Jul 2018 21:17:03 +0000 (16:17 -0500)
commit387a3bfb3803278e31305e8bbd7fdfe50ed8af5c
tree648d22e8151a789cacf4515f0ff8859bf875905c
parentaddc04dbe91bbc645983ecb13bd5d3f08c8337e1
PCI/AER: Move internal declarations to drivers/pci/pci.h

Since pci_aer_init() and pci_no_aer() are used only internally, move their
declarations to the PCI internal header file.  Also, no one cares about
return value of pci_aer_init(), so make it void.

Signed-off-by: Rajat Jain <rajatja@google.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pci.h
drivers/pci/pcie/aer.c
include/linux/pci.h