]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/mediatek-v1: Allow building as module
authorYong Wu <yong.wu@mediatek.com>
Fri, 26 Mar 2021 03:23:36 +0000 (11:23 +0800)
committerJoerg Roedel <jroedel@suse.de>
Wed, 7 Apr 2021 08:33:58 +0000 (10:33 +0200)
commit050a5beefd32e3a2dec02f3d3cfdd7a73440e639
treedefc5269e903384a8a3c71117f7ad5a9ae287259
parent155740eb4d33ce3a3ca0d38d270a3f49add1ff95
iommu/mediatek-v1: Allow building as module

This patch only adds support for building the IOMMU-v1 driver as module.
Correspondingly switch the config to tristate and update the iommu_ops's
owner to THIS_MODULE.

Signed-off-by: Yong Wu <yong.wu@mediatek.com>
Link: https://lore.kernel.org/r/20210326032337.24578-1-yong.wu@mediatek.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/Kconfig
drivers/iommu/mtk_iommu_v1.c