diff options
author | Robin Murphy <robin.murphy@arm.com> | 2018-01-09 16:17:27 +0000 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-01-17 15:25:50 +0100 |
commit | b0c560f7d8a4b333bcc18f692d0af0d5cca90fe2 (patch) | |
tree | 3d75ddff23241d48a2b4335a18fe827d6ba3b567 /drivers/iommu/ipmmu-vmsa.c | |
parent | e7747d88e05eabed6fd921c3636a9d1f5b4f754f (diff) | |
download | talos-obmc-linux-b0c560f7d8a4b333bcc18f692d0af0d5cca90fe2.tar.gz talos-obmc-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/ipmmu-vmsa.c')
-rw-r--r-- | drivers/iommu/ipmmu-vmsa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index 331dad909301..40ae6e87cb88 100644 --- a/drivers/iommu/ipmmu-vmsa.c +++ b/drivers/iommu/ipmmu-vmsa.c @@ -1108,8 +1108,8 @@ static void __exit ipmmu_exit(void) subsys_initcall(ipmmu_init); module_exit(ipmmu_exit); -IOMMU_OF_DECLARE(ipmmu_vmsa_iommu_of, "renesas,ipmmu-vmsa", NULL); -IOMMU_OF_DECLARE(ipmmu_r8a7795_iommu_of, "renesas,ipmmu-r8a7795", NULL); +IOMMU_OF_DECLARE(ipmmu_vmsa_iommu_of, "renesas,ipmmu-vmsa"); +IOMMU_OF_DECLARE(ipmmu_r8a7795_iommu_of, "renesas,ipmmu-r8a7795"); MODULE_DESCRIPTION("IOMMU API for Renesas VMSA-compatible IPMMU"); MODULE_AUTHOR("Laurent Pinchart <laurent.pinchart@ideasonboard.com>"); |