summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/msm/msm_mmu.h
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_mmu.h
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_mmu.h')
-rw-r--r--drivers/gpu/drm/msm/msm_mmu.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/msm/msm_mmu.h b/drivers/gpu/drm/msm/msm_mmu.h
index 7cd88d9dc155..b8ca9a0e9170 100644
--- a/drivers/gpu/drm/msm/msm_mmu.h
+++ b/drivers/gpu/drm/msm/msm_mmu.h
@@ -21,8 +21,8 @@
#include <linux/iommu.h>
struct msm_mmu_funcs {
- int (*attach)(struct msm_mmu *mmu, const char **names, int cnt);
- void (*detach)(struct msm_mmu *mmu, const char **names, int cnt);
+ int (*attach)(struct msm_mmu *mmu, const char * const *names, int cnt);
+ void (*detach)(struct msm_mmu *mmu, const char * const *names, int cnt);
int (*map)(struct msm_mmu *mmu, uint32_t iova, struct sg_table *sgt,
unsigned len, int prot);
int (*unmap)(struct msm_mmu *mmu, uint32_t iova, struct sg_table *sgt,