PCI: Export pci_ats_disabled() as a GPL symbol to modules
authorWill Deacon <will@kernel.org>
Thu, 19 Dec 2019 12:03:40 +0000 (12:03 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 23 Dec 2019 13:06:05 +0000 (14:06 +0100)
commit1a373a78b8e2fae1d61dd9c5ed22472045d83d24
tree498de3cfed89448a468866691d354f202217bbf7
parentbb950bca5d522119f8b9ce3f6cbac4841c6d6517
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>
Tested-by: John Garry <john.garry@huawei.com> # smmu v3
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/pci/pci.c