iommu/arm-smmu-v3: Allow building as a module
authorWill Deacon <will@kernel.org>
Thu, 19 Dec 2019 12:03:49 +0000 (12:03 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 23 Dec 2019 13:06:05 +0000 (14:06 +0100)
commit2852ad05e3e9c97bfd14f1f480ee45128424c143
treef6acec6068abf15a336e0ea35c30dd1fcf6b8dc1
parentd3daf66621b9dd5749d4661ace74afb84d3d465e
iommu/arm-smmu-v3: Allow building as a module

By removing the redundant call to 'pci_request_acs()' we can allow the
ARM SMMUv3 driver to be built as a module.

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/iommu/Kconfig
drivers/iommu/arm-smmu-v3.c