Re: [PATCH 2/2] iommu: of: enforce const-ness of struct iommu_ops

2015-03-11 Thread Thierry Reding
On Fri, Mar 06, 2015 at 11:34:48AM +, 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

[PATCH 2/2] iommu: of: enforce const-ness of struct iommu_ops

2015-03-06 Thread Will Deacon
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