PCI/ATS: Consolidate ATS declarations in linux/pci-ats.h
authorKrzysztof Wilczynski <kw@linux.com>
Sat, 14 Sep 2019 21:30:32 +0000 (23:30 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Oct 2019 21:39:11 +0000 (16:39 -0500)
commitb24d5c2098596a41cf187af41287777a2e0dd753
treec3d414627ce738bcdf0623a2c887fac585d37063
parente5adf79a1d8086aefa56f48eeb08f8fe4e054a3d
PCI/ATS: Consolidate ATS declarations in linux/pci-ats.h

Move ATS function prototypes from include/linux/pci.h to
include/linux/pci-ats.h as the ATS, PRI, and PASID interfaces are related
and are used only by the IOMMU drivers.  This effectively reverts
ff9bee895c4d ("PCI: Move ATS declarations to linux/pci.h so they're all
together").

Also, remove surplus forward declaration of struct pci_ats from
include/linux/pci.h, as it is no longer needed, since struct pci_ats was
embedded directly into struct pci_dev by d544d75ac96a ("PCI: Embed ATS info
directly into struct pci_dev").

No functional changes intended.

Link: https://lore.kernel.org/r/20190914213032.22314-1-kw@linux.com
Signed-off-by: Krzysztof Wilczynski <kw@linux.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
include/linux/pci-ats.h
include/linux/pci.h