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:
30bf2df
)
iommu/amd: Constify irq_domain_ops
author
Tobias Klauser
<tklauser@distanz.ch>
Wed, 24 May 2017 14:31:16 +0000
(16:31 +0200)
committer
Joerg Roedel
<jroedel@suse.de>
Tue, 30 May 2017 09:45:07 +0000
(11:45 +0200)
struct irq_domain_ops is not modified, so it can be made const.
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/amd_iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iommu/amd_iommu.c
b/drivers/iommu/amd_iommu.c
index d3ff766a8ca6dcb15f071fb2d96dd25330c97f58..d7748955184b5577b7ee2f12b0c45ca9f21db389 100644
(file)
--- a/
drivers/iommu/amd_iommu.c
+++ b/
drivers/iommu/amd_iommu.c
@@
-4299,7
+4299,7
@@
static void irq_remapping_deactivate(struct irq_domain *domain,
irte_info->index);
}
-static struct irq_domain_ops amd_ir_domain_ops = {
+static
const
struct irq_domain_ops amd_ir_domain_ops = {
.alloc = irq_remapping_alloc,
.free = irq_remapping_free,
.activate = irq_remapping_activate,