diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-05-24 16:31:16 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2017-05-30 11:45:07 +0200 |
commit | e2f9d45fb452c60c9aaab55ce6f40601f9ec6516 (patch) | |
tree | dabb0dff8c0b512792f71752b979c93abac5ba1d /drivers/iommu/amd_iommu.c | |
parent | iommu/amd: Ratelimit io-page-faults per device (diff) | |
download | linux-e2f9d45fb452c60c9aaab55ce6f40601f9ec6516.tar.xz linux-e2f9d45fb452c60c9aaab55ce6f40601f9ec6516.zip |
iommu/amd: Constify irq_domain_ops
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>
Diffstat (limited to 'drivers/iommu/amd_iommu.c')
-rw-r--r-- | drivers/iommu/amd_iommu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iommu/amd_iommu.c b/drivers/iommu/amd_iommu.c index d3ff766a8ca6..d7748955184b 100644 --- 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, |