diff options
author | Bhumika Goyal <bhumirks@gmail.com> | 2017-08-28 21:17:27 +0300 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-08-30 16:10:53 +0300 |
commit | 8da4af95867e339d4aa61f9a1814bbfb2a55468e (patch) | |
tree | 2236b5f64c47cb43df3ffdebea8e11ac1e6b44f1 /drivers/iommu | |
parent | a175a67d306ab3fd0e140595f49290b80c909ae8 (diff) | |
download | linux-8da4af95867e339d4aa61f9a1814bbfb2a55468e.tar.xz |
iommu/ipmmu-vmsa: Make ipmmu_gather_ops const
Make these const as they are not modified anywhere.
Signed-off-by: Bhumika Goyal <bhumirks@gmail.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu')
-rw-r--r-- | drivers/iommu/ipmmu-vmsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/ipmmu-vmsa.c b/drivers/iommu/ipmmu-vmsa.c index 1711fd306d33..195d6e93ac71 100644 --- a/drivers/iommu/ipmmu-vmsa.c +++ b/drivers/iommu/ipmmu-vmsa.c @@ -295,7 +295,7 @@ static void ipmmu_tlb_add_flush(unsigned long iova, size_t size, /* The hardware doesn't support selective TLB flush. */ } -static struct iommu_gather_ops ipmmu_gather_ops = { +static const struct iommu_gather_ops ipmmu_gather_ops = { .tlb_flush_all = ipmmu_tlb_flush_all, .tlb_add_flush = ipmmu_tlb_add_flush, .tlb_sync = ipmmu_tlb_flush_all, |