ARM: omap: Don't set iommu pdata da_start and da_end fields
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 18 Jul 2014 10:49:56 +0000 (12:49 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 29 Jul 2014 10:39:23 +0000 (12:39 +0200)
The fields are not used by the driver and will be removed from platform
data. Don't set them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/arm/mach-omap2/omap-iommu.c
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
arch/arm/mach-omap2/omap_hwmod_44xx_data.c

index f1fab5684a24b1fc26a20b180305398be5165c65..4068350f905958f4dba767756bd7a5aa46d0332f 100644 (file)
@@ -34,8 +34,6 @@ static int __init omap_iommu_dev_init(struct omap_hwmod *oh, void *unused)
 
        pdata->name = oh->name;
        pdata->nr_tlb_entries = a->nr_tlb_entries;
-       pdata->da_start = a->da_start;
-       pdata->da_end = a->da_end;
 
        if (oh->rst_lines_cnt == 1) {
                pdata->reset_name = oh->rst_lines->name;
index 1cd0cfdc03e0d479d157b85870b7d98b9ea8b464..e9516b454e76c52c73910b21bfda7f7a2f973d1c 100644 (file)
@@ -2986,8 +2986,6 @@ static struct omap_hwmod_class omap3xxx_mmu_hwmod_class = {
 /* mmu isp */
 
 static struct omap_mmu_dev_attr mmu_isp_dev_attr = {
-       .da_start       = 0x0,
-       .da_end         = 0xfffff000,
        .nr_tlb_entries = 8,
 };
 
@@ -3026,8 +3024,6 @@ static struct omap_hwmod omap3xxx_mmu_isp_hwmod = {
 /* mmu iva */
 
 static struct omap_mmu_dev_attr mmu_iva_dev_attr = {
-       .da_start       = 0x11000000,
-       .da_end         = 0xfffff000,
        .nr_tlb_entries = 32,
 };
 
index 41e54f7599347d08829335ae6f1be1bb945ee364..b4acc0a7576f22dfa60c38d1bc164abc027218ce 100644 (file)
@@ -2084,8 +2084,6 @@ static struct omap_hwmod_class omap44xx_mmu_hwmod_class = {
 /* mmu ipu */
 
 static struct omap_mmu_dev_attr mmu_ipu_dev_attr = {
-       .da_start       = 0x0,
-       .da_end         = 0xfffff000,
        .nr_tlb_entries = 32,
 };
 
@@ -2133,8 +2131,6 @@ static struct omap_hwmod omap44xx_mmu_ipu_hwmod = {
 /* mmu dsp */
 
 static struct omap_mmu_dev_attr mmu_dsp_dev_attr = {
-       .da_start       = 0x0,
-       .da_end         = 0xfffff000,
        .nr_tlb_entries = 32,
 };