diff options
author | Rob Clark <robdclark@gmail.com> | 2016-02-25 08:49:43 +0300 |
---|---|---|
committer | Rob Clark <robdclark@gmail.com> | 2016-03-03 00:19:43 +0300 |
commit | d72ab599319b0e802b3692ff4391a69728143ee5 (patch) | |
tree | 8b2111915c040899674f5dfd992b96a178b6cfea /drivers/gpu/drm/msm/msm_iommu.c | |
parent | 4103eef98c60d298715ca5d64b10c9874ca5f53b (diff) | |
download | linux-d72ab599319b0e802b3692ff4391a69728143ee5.tar.xz |
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.c | 6 |
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); |