mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 10:57:46 +00:00
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>
This commit is contained in:
parent
30bf2df65b
commit
e2f9d45fb4
1 changed files with 1 additions and 1 deletions
|
@ -4299,7 +4299,7 @@ static void irq_remapping_deactivate(struct irq_domain *domain,
|
||||||
irte_info->index);
|
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,
|
.alloc = irq_remapping_alloc,
|
||||||
.free = irq_remapping_free,
|
.free = irq_remapping_free,
|
||||||
.activate = irq_remapping_activate,
|
.activate = irq_remapping_activate,
|
||||||
|
|
Loading…
Reference in a new issue