mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 10:58:48 +09:00
FROMLIST: PCI: Export PCI ACS and DMA searching functions to modules
IOMMU drivers that can be compiled as modules may want to use pci_for_each_dma_alias() and pci_request_acs(), so export those functions. Change-Id: I8fab4075d151cc3d07a6594685895a189565bb3d Signed-off-by: Isaac J. Manjarres <isaacm@codeaurora.org> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Bug: 140290589 Link: https://patchwork.kernel.org/patch/10948411/
This commit is contained in:
@@ -3173,6 +3173,7 @@ void pci_request_acs(void)
|
||||
{
|
||||
pci_acs_enable = 1;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(pci_request_acs);
|
||||
|
||||
static const char *disable_acs_redir_param;
|
||||
|
||||
|
||||
@@ -106,6 +106,7 @@ int pci_for_each_dma_alias(struct pci_dev *pdev,
|
||||
|
||||
return ret;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(pci_for_each_dma_alias);
|
||||
|
||||
static struct pci_bus *pci_do_find_bus(struct pci_bus *bus, unsigned char busnr)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user