On Fri, Mar 06, 2015 at 11:34:48AM +0000, Will Deacon wrote: > From: Robin Murphy > > With the pgsize_bitmap removed, there is no compelling reason for > the remaining callbacks in struct iommu_ops to be mutable, so enforce > const-ness throughout the core code. > > Signed-off-by: Robin Murphy > Signed-off-by: Will Deacon > --- > arch/arm/include/asm/dma-mapping.h | 2 +- > arch/arm/mm/dma-mapping.c | 6 +++--- > arch/arm64/include/asm/dma-mapping.h | 3 ++- > drivers/iommu/of_iommu.c | 12 ++++++------ > drivers/of/platform.c | 2 +- > include/linux/dma-mapping.h | 2 +- > include/linux/of_iommu.h | 8 ++++---- > 7 files changed, 18 insertions(+), 17 deletions(-) Acked-by: Thierry Reding