diff options
author | Thierry Reding <treding@nvidia.com> | 2014-06-27 09:03:12 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2014-07-07 10:36:59 +0200 |
commit | b22f6434cf48af001330e370e9d781aeb668f98c (patch) | |
tree | 1d8b3b61fef931cebc89278be309b0d75e07669a /drivers/iommu/msm_iommu.c | |
parent | 066f2e98d8c7f043747fb08ebaa66bad723b1121 (diff) | |
download | linux-stable-b22f6434cf48af001330e370e9d781aeb668f98c.tar.gz linux-stable-b22f6434cf48af001330e370e9d781aeb668f98c.tar.bz2 linux-stable-b22f6434cf48af001330e370e9d781aeb668f98c.zip |
iommu: Constify struct iommu_ops
This structure is read-only data and should never be modified.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/msm_iommu.c')
-rw-r--r-- | drivers/iommu/msm_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/msm_iommu.c b/drivers/iommu/msm_iommu.c index f5ff657f49fa..49f41d6e02f1 100644 --- a/drivers/iommu/msm_iommu.c +++ b/drivers/iommu/msm_iommu.c @@ -674,7 +674,7 @@ fail: return 0; } -static struct iommu_ops msm_iommu_ops = { +static const struct iommu_ops msm_iommu_ops = { .domain_init = msm_iommu_domain_init, .domain_destroy = msm_iommu_domain_destroy, .attach_dev = msm_iommu_attach_dev, |