iommu/qcom: Make it explicitly non-modular
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Sat, 1 Dec 2018 19:19:14 +0000 (14:19 -0500)
committerJoerg Roedel <jroedel@suse.de>
Mon, 3 Dec 2018 13:32:03 +0000 (14:32 +0100)
commitf295cf26d7766a1108d1dbfd183813b849c0f161
treedf6a77fcad40b9de0d1df82ce8390c9104669629
parent8128ac3b0fe316d4bbedae54068ac24a623c08b5
iommu/qcom: 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 just becomes device_initcall for non-modules, the
init ordering remains unchanged with this commit.

Also note that MODULE_DEVICE_TABLE is a no-op for non-modular code.

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: Rob Clark <robdclark@gmail.com>
Cc: Joerg Roedel <joro@8bytes.org>
Cc: iommu@lists.linux-foundation.org
Cc: linux-arm-msm@vger.kernel.org
Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/qcom_iommu.c