]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iommu: of: enforce const-ness of struct iommu_ops
authorRobin Murphy <Robin.Murphy@arm.com>
Thu, 7 Apr 2016 17:42:05 +0000 (18:42 +0100)
committerJoerg Roedel <jroedel@suse.de>
Mon, 9 May 2016 13:33:29 +0000 (15:33 +0200)
commit53c92d793395fdab9edbd2f79b084bb6b2e6ae79
tree57a3dd2ec3c8c3b280adab8dbe400c8c19345b40
parent3c3e8943ac6f36ca5d18ca61b30634fb560b4ebb
iommu: of: enforce const-ness of struct iommu_ops

As a set of driver-provided callbacks and static data, there is no
compelling reason for struct iommu_ops to be mutable in core code, so
enforce const-ness throughout.

Acked-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
arch/arm/include/asm/dma-mapping.h
arch/arm/mm/dma-mapping.c
arch/arm64/include/asm/dma-mapping.h
arch/arm64/mm/dma-mapping.c
drivers/iommu/of_iommu.c
drivers/of/device.c
include/linux/dma-mapping.h
include/linux/of_iommu.h