mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
FROMLIST: PCI: Export pci_ats_disabled() as a GPL symbol to modules
Building drivers for ATS-aware IOMMUs as modules requires access to pci_ats_disabled(). Export it as a GPL symbol to get things working. Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Will Deacon <will@kernel.org> Bug: 140290589 Link: https://lore.kernel.org/lkml/20191121114918.2293-4-will@kernel.org/ Signed-off-by: Will Deacon <willdeacon@google.com> Change-Id: Ia5457fd6c4593565799b97f40c0def3558a97696
This commit is contained in:
@@ -123,6 +123,7 @@ bool pci_ats_disabled(void)
|
||||
{
|
||||
return pcie_ats_disabled;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(pci_ats_disabled);
|
||||
|
||||
/* Disable bridge_d3 for all PCIe ports */
|
||||
static bool pci_bridge_d3_disable;
|
||||
|
||||
Reference in New Issue
Block a user