summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap-iommu.c
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2015-07-10 15:43:05 -0500
committerTony Lindgren <tony@atomide.com>2015-07-16 00:14:50 -0700
commit228e5fadba3c7d6ef39bac087cd086ab9d68d945 (patch)
tree7ab7c42eff97bf12c685f3b6a76839e2289e10ae /arch/arm/mach-omap2/omap-iommu.c
parentea827ad5ffbb78812f6dbdee005e1f364b6bdc58 (diff)
downloadlinux-228e5fadba3c7d6ef39bac087cd086ab9d68d945.tar.bz2
ARM: OMAP2+: Remove module references from IOMMU machine layer
The OMAP IOMMU driver has been adapted to the IOMMU framework for a while now, and it no longer supports being built as a module. Cleanup all the module related references both from the code and in the build. While at it, also relocate a comment around the initcall to avoid a checkpatch strict warning about using a blank line after function/struct/union/enum declarations. Signed-off-by: Suman Anna <s-anna@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/omap-iommu.c')
-rw-r--r--arch/arm/mach-omap2/omap-iommu.c13
1 files changed, 1 insertions, 12 deletions
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c
index 4068350f9059..8867eb4025bf 100644
--- a/arch/arm/mach-omap2/omap-iommu.c
+++ b/arch/arm/mach-omap2/omap-iommu.c
@@ -11,7 +11,6 @@
*/
#include <linux/of.h>
-#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/err.h>
#include <linux/slab.h>
@@ -63,15 +62,5 @@ static int __init omap_iommu_init(void)
return omap_hwmod_for_each_by_class("mmu", omap_iommu_dev_init, NULL);
}
-/* must be ready before omap3isp is probed */
omap_subsys_initcall(omap_iommu_init);
-
-static void __exit omap_iommu_exit(void)
-{
- /* Do nothing */
-}
-module_exit(omap_iommu_exit);
-
-MODULE_AUTHOR("Hiroshi DOYU");
-MODULE_DESCRIPTION("omap iommu: omap device registration");
-MODULE_LICENSE("GPL v2");
+/* must be ready before omap3isp is probed */