Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c32fef39 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

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: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
Acked-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Bug: 140290589
Link: https://patchwork.kernel.org/patch/10948411/
parent ebc7824f
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;

+1 −0
Original line number Diff line number Diff line
@@ -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)
{