iommu/mediatek: Make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 1 Dec 2018 19:19:12 +0000 (14:19 -0500)
committerJoerg Roedel <jroedel@suse.de>
Mon, 3 Dec 2018 13:32:03 +0000 (14:32 +0100)
commitd4cf5bbd56f5b7210fae65cb60645c71b8c39425
tree3d088612ad305bc872a828e92a8e516457329b24
parenta007dd51e5598ab318d8d226a439f41f536ffbc2
iommu/mediatek: Make it explicitly non-modular

The Kconfig currently controlling compilation of this code is:

drivers/iommu/Kconfig:config MTK_IOMMU_V1
drivers/iommu/Kconfig:  bool "MTK IOMMU Version 1 (M4U gen1) Support"

...meaning that it currently is not being built as a module by anyone.

Lets remove the modular code that is essentially orphaned, so that
when reading the driver there is no doubt it is builtin-only.

Since module_init was not even used by this driver, the init ordering
remains unchanged with this commit.

We also delete the MODULE_LICENSE tag etc. since all that information
was (or is now) contained at the top of the file in the comments.

Cc: Joerg Roedel <joro@8bytes.org>
Cc: Matthias Brugger <matthias.bgg@gmail.com>
Cc: Honghui Zhang <honghui.zhang@mediatek.com>
Cc: iommu@lists.linux-foundation.org
Cc: linux-mediatek@lists.infradead.org
Acked-by: Honghui Zhang <honghui.zhang@mediatek.com>
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/mtk_iommu_v1.c