Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e2f9d45f authored by Tobias Klauser's avatar Tobias Klauser Committed by Joerg Roedel
Browse files

iommu/amd: Constify irq_domain_ops



struct irq_domain_ops is not modified, so it can be made const.

Signed-off-by: default avatarTobias Klauser <tklauser@distanz.ch>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 30bf2df6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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,