iommu/arm-smmu: Constify some helpers
authorRob Clark <robdclark@chromium.org>
Sat, 5 Sep 2020 20:04:21 +0000 (13:04 -0700)
committerWill Deacon <will@kernel.org>
Mon, 21 Sep 2020 21:14:05 +0000 (22:14 +0100)
commit1226fa0e541c89af22683676b9829fce849efe31
tree790e81c48d3ce919b0489f15eca0176caa77c0b5
parent556db53a71e0e0bcfb30b4d8e4fdd7bb49951b99
iommu/arm-smmu: Constify some helpers

Sprinkle a few `const`s where helpers don't need write access.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
drivers/iommu/arm/arm-smmu/arm-smmu.h