]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/arm-smmu: Allow building as a module
authorWill Deacon <will@kernel.org>
Thu, 19 Dec 2019 12:03:51 +0000 (12:03 +0000)
committerJoerg Roedel <jroedel@suse.de>
Mon, 23 Dec 2019 13:06:05 +0000 (14:06 +0100)
commit7afff2c347216641e11c419ab1cb989a14d43156
tree5dfab6e06eeb4b15680540ba69fc2611f4496d82
parentd758cd7859c14bc0a537241505def38a19850a2c
iommu/arm-smmu: Allow building as a module

By conditionally dropping support for the legacy binding and exporting
the newly introduced 'arm_smmu_impl_init()' function we can allow the
ARM SMMU 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/Makefile
drivers/iommu/arm-smmu.c