diff options
author | Robin Murphy <robin.murphy@arm.com> | 2018-01-09 17:17:27 +0100 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-01-17 15:25:50 +0100 |
commit | b0c560f7d8a4b333bcc18f692d0af0d5cca90fe2 (patch) | |
tree | 3d75ddff23241d48a2b4335a18fe827d6ba3b567 /drivers/iommu/qcom_iommu.c | |
parent | iommu/ipmmu-vmsa: Remove redundant of_iommu_init_fn hook (diff) | |
download | linux-b0c560f7d8a4b333bcc18f692d0af0d5cca90fe2.tar.xz linux-b0c560f7d8a4b333bcc18f692d0af0d5cca90fe2.zip |
iommu: Clean up of_iommu_init_fn
Now that no more drivers rely on arbitrary early initialisation via an
of_iommu_init_fn hook, let's clean up the redundant remnants. The
IOMMU_OF_DECLARE() macro needs to remain for now, as the probe-deferral
mechanism has no other nice way to detect built-in drivers before they
have registered themselves, such that it can make the right decision.
Reviewed-by: Sricharan R <sricharan@codeaurora.org>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/qcom_iommu.c')
-rw-r--r-- | drivers/iommu/qcom_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/qcom_iommu.c b/drivers/iommu/qcom_iommu.c index e07f02d00c68..65b9c99707f8 100644 --- a/drivers/iommu/qcom_iommu.c +++ b/drivers/iommu/qcom_iommu.c @@ -947,7 +947,7 @@ static void __exit qcom_iommu_exit(void) module_init(qcom_iommu_init); module_exit(qcom_iommu_exit); -IOMMU_OF_DECLARE(qcom_iommu_dev, "qcom,msm-iommu-v1", NULL); +IOMMU_OF_DECLARE(qcom_iommu_dev, "qcom,msm-iommu-v1"); MODULE_DESCRIPTION("IOMMU API for QCOM IOMMU v1 implementations"); MODULE_LICENSE("GPL v2"); |