summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_iommu.c
diff options
context:
space:
mode:
authorRob Clark2016-02-25 06:49:43 +0100
committerRob Clark2016-03-02 22:19:43 +0100
commitd72ab599319b0e802b3692ff4391a69728143ee5 (patch)
tree8b2111915c040899674f5dfd992b96a178b6cfea /drivers/gpu/drm/msm/msm_iommu.c
parentdrm/msm/mdp: Use atomic helper to set crtc property (diff)
downloadkernel-qcow2-linux-d72ab599319b0e802b3692ff4391a69728143ee5.tar.gz
kernel-qcow2-linux-d72ab599319b0e802b3692ff4391a69728143ee5.tar.xz
kernel-qcow2-linux-d72ab599319b0e802b3692ff4391a69728143ee5.zip
drm/msm: make iommu port names const'ier
Signed-off-by: Rob Clark <robdclark@gmail.com>
Diffstat (limited to 'drivers/gpu/drm/msm/msm_iommu.c')
-rw-r--r--drivers/gpu/drm/msm/msm_iommu.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/msm_iommu.c b/drivers/gpu/drm/msm/msm_iommu.c
index 7ac2f1997e4a..a7a0b6d9b057 100644
--- a/drivers/gpu/drm/msm/msm_iommu.c
+++ b/drivers/gpu/drm/msm/msm_iommu.c
@@ -31,13 +31,15 @@ static int msm_fault_handler(struct iommu_domain *iommu, struct device *dev,
return 0;
}
-static int msm_iommu_attach(struct msm_mmu *mmu, const char **names, int cnt)
+static int msm_iommu_attach(struct msm_mmu *mmu, const char * const *names,
+ int cnt)
{
struct msm_iommu *iommu = to_msm_iommu(mmu);
return iommu_attach_device(iommu->domain, mmu->dev);
}
-static void msm_iommu_detach(struct msm_mmu *mmu, const char **names, int cnt)
+static void msm_iommu_detach(struct msm_mmu *mmu, const char * const *names,
+ int cnt)
{
struct msm_iommu *iommu = to_msm_iommu(mmu);
iommu_detach_device(iommu->domain, mmu->dev);