aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap2/omap-iommu.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-omap2/omap-iommu.c')
-rw-r--r--arch/arm/mach-omap2/omap-iommu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/omap-iommu.c b/arch/arm/mach-omap2/omap-iommu.c
index 6da4f7ae9d7f..f6daae821ebb 100644
--- a/arch/arm/mach-omap2/omap-iommu.c
+++ b/arch/arm/mach-omap2/omap-iommu.c
@@ -16,6 +16,7 @@
16#include <linux/slab.h> 16#include <linux/slab.h>
17 17
18#include <linux/platform_data/iommu-omap.h> 18#include <linux/platform_data/iommu-omap.h>
19#include "soc.h"
19#include "omap_hwmod.h" 20#include "omap_hwmod.h"
20#include "omap_device.h" 21#include "omap_device.h"
21 22
@@ -41,8 +42,7 @@ static int __init omap_iommu_dev_init(struct omap_hwmod *oh, void *unused)
41 pdata->deassert_reset = omap_device_deassert_hardreset; 42 pdata->deassert_reset = omap_device_deassert_hardreset;
42 } 43 }
43 44
44 pdev = omap_device_build("omap-iommu", i, oh, pdata, sizeof(*pdata), 45 pdev = omap_device_build("omap-iommu", i, oh, pdata, sizeof(*pdata));
45 NULL, 0, 0);
46 46
47 kfree(pdata); 47 kfree(pdata);
48 48
@@ -61,7 +61,7 @@ static int __init omap_iommu_init(void)
61 return omap_hwmod_for_each_by_class("mmu", omap_iommu_dev_init, NULL); 61 return omap_hwmod_for_each_by_class("mmu", omap_iommu_dev_init, NULL);
62} 62}
63/* must be ready before omap3isp is probed */ 63/* must be ready before omap3isp is probed */
64subsys_initcall(omap_iommu_init); 64omap_subsys_initcall(omap_iommu_init);
65 65
66static void __exit omap_iommu_exit(void) 66static void __exit omap_iommu_exit(void)
67{ 67{