]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-omap2/omap-iommu.c
Merge tag 'soc' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
[karo-tx-linux.git] / arch / arm / mach-omap2 / omap-iommu.c
index 6da4f7ae9d7f2d80545a53443b9ae51f1e64f214..f6daae821ebb70e9cd09d2a9f82edfb54885ee47 100644 (file)
@@ -16,6 +16,7 @@
 #include <linux/slab.h>
 
 #include <linux/platform_data/iommu-omap.h>
+#include "soc.h"
 #include "omap_hwmod.h"
 #include "omap_device.h"
 
@@ -41,8 +42,7 @@ static int __init omap_iommu_dev_init(struct omap_hwmod *oh, void *unused)
                pdata->deassert_reset = omap_device_deassert_hardreset;
        }
 
-       pdev = omap_device_build("omap-iommu", i, oh, pdata, sizeof(*pdata),
-                               NULL, 0, 0);
+       pdev = omap_device_build("omap-iommu", i, oh, pdata, sizeof(*pdata));
 
        kfree(pdata);
 
@@ -61,7 +61,7 @@ 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 */
-subsys_initcall(omap_iommu_init);
+omap_subsys_initcall(omap_iommu_init);
 
 static void __exit omap_iommu_exit(void)
 {