projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a175a67
)
iommu/ipmmu-vmsa: Make ipmmu_gather_ops const
author
Bhumika Goyal
<bhumirks@gmail.com>
Mon, 28 Aug 2017 18:17:27 +0000
(23:47 +0530)
committer
Joerg Roedel
<jroedel@suse.de>
Wed, 30 Aug 2017 13:10:53 +0000
(15:10 +0200)
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>
drivers/iommu/ipmmu-vmsa.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/ipmmu-vmsa.c
b/drivers/iommu/ipmmu-vmsa.c
index 1711fd306d33cb05567d9568f022a1104b3cb1dd..195d6e93ac7185aa53ee075521faf0de56ec53bf 100644
(file)
--- 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,