Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: omap: Don't set iommu pdata da_start and da_end fields

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>

authored by

Laurent Pinchart and committed by
Joerg Roedel
4aa5dd7e baaa7b5d

-10
-2
arch/arm/mach-omap2/omap-iommu.c
··· 34 34 35 35 pdata->name = oh->name; 36 36 pdata->nr_tlb_entries = a->nr_tlb_entries; 37 - pdata->da_start = a->da_start; 38 - pdata->da_end = a->da_end; 39 37 40 38 if (oh->rst_lines_cnt == 1) { 41 39 pdata->reset_name = oh->rst_lines->name;
-4
arch/arm/mach-omap2/omap_hwmod_3xxx_data.c
··· 2986 2986 /* mmu isp */ 2987 2987 2988 2988 static struct omap_mmu_dev_attr mmu_isp_dev_attr = { 2989 - .da_start = 0x0, 2990 - .da_end = 0xfffff000, 2991 2989 .nr_tlb_entries = 8, 2992 2990 }; 2993 2991 ··· 3024 3026 /* mmu iva */ 3025 3027 3026 3028 static struct omap_mmu_dev_attr mmu_iva_dev_attr = { 3027 - .da_start = 0x11000000, 3028 - .da_end = 0xfffff000, 3029 3029 .nr_tlb_entries = 32, 3030 3030 }; 3031 3031
-4
arch/arm/mach-omap2/omap_hwmod_44xx_data.c
··· 2084 2084 /* mmu ipu */ 2085 2085 2086 2086 static struct omap_mmu_dev_attr mmu_ipu_dev_attr = { 2087 - .da_start = 0x0, 2088 - .da_end = 0xfffff000, 2089 2087 .nr_tlb_entries = 32, 2090 2088 }; 2091 2089 ··· 2131 2133 /* mmu dsp */ 2132 2134 2133 2135 static struct omap_mmu_dev_attr mmu_dsp_dev_attr = { 2134 - .da_start = 0x0, 2135 - .da_end = 0xfffff000, 2136 2136 .nr_tlb_entries = 32, 2137 2137 }; 2138 2138