iommu: Constify struct iommu_ops
[deliverable/linux.git] / drivers / iommu / tegra-smmu.c
index 605b5b46a90390b3b2f630b5b2bcee146b4ead13..792da5ea6d128fd1f9a63ddf9e6ab2df9ffa9145 100644 (file)
@@ -947,7 +947,7 @@ static void smmu_iommu_domain_destroy(struct iommu_domain *domain)
        dev_dbg(smmu->dev, "smmu_as@%p\n", as);
 }
 
-static struct iommu_ops smmu_iommu_ops = {
+static const struct iommu_ops smmu_iommu_ops = {
        .domain_init    = smmu_iommu_domain_init,
        .domain_destroy = smmu_iommu_domain_destroy,
        .attach_dev     = smmu_iommu_attach_dev,
This page took 0.025507 seconds and 5 git commands to generate.